Ticket #2276: fix-nginx-syntax.patch

File fix-nginx-syntax.patch, 516 bytes (added by susnux@…, 5 years ago)

Patch fixing the syntax file

  • .vim

    old new  
    55  finish
    66end
    77
     8" Reset compatible-options to Vim default value, just in case:
     9let s:save_cpo = &cpo
     10set cpo&vim
     11
    812" general syntax
    913
    1014if has("patch-7.4.1142")
     
    24472451hi def link ngxListenOptions Keyword
    24482452hi def link ngxListenOptionsDeprecated Error
    24492453
     2454" Restore current compatible-options:
     2455let &cpo = s:save_cpo
     2456unlet s:save_cpo
     2457
    24502458let b:current_syntax = "nginx"