comparison contrib/vim/syntax/nginx.vim @ 7782:dea93b6dce94

Contrib: vim syntax, default highlighting (ticket #2141). Using default highlighting makes it possible to easily overrule highlighting specified in the syntax file, see ":highlight-default" in vim help for details.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 25 Feb 2021 23:42:25 +0300
parents a20eef9a1df2
children d61d590ac826
comparison
equal deleted inserted replaced
7781:51e6a665523c 7782:dea93b6dce94
2412 2412
2413 2413
2414 2414
2415 " highlight 2415 " highlight
2416 2416
2417 hi link ngxComment Comment 2417 hi def link ngxComment Comment
2418 hi link ngxParamComment Comment 2418 hi def link ngxParamComment Comment
2419 hi link ngxListenComment Comment 2419 hi def link ngxListenComment Comment
2420 hi link ngxVariable Identifier 2420 hi def link ngxVariable Identifier
2421 hi link ngxVariableString PreProc 2421 hi def link ngxVariableString PreProc
2422 hi link ngxString String 2422 hi def link ngxString String
2423 hi link ngxListenString String 2423 hi def link ngxListenString String
2424 2424
2425 hi link ngxBoolean Boolean 2425 hi def link ngxBoolean Boolean
2426 hi link ngxDirectiveBlock Statement 2426 hi def link ngxDirectiveBlock Statement
2427 hi link ngxDirectiveImportant Type 2427 hi def link ngxDirectiveImportant Type
2428 hi link ngxDirectiveListen Type 2428 hi def link ngxDirectiveListen Type
2429 hi link ngxDirectiveControl Keyword 2429 hi def link ngxDirectiveControl Keyword
2430 hi link ngxDirectiveError Constant 2430 hi def link ngxDirectiveError Constant
2431 hi link ngxDirectiveDeprecated Error 2431 hi def link ngxDirectiveDeprecated Error
2432 hi link ngxDirective Identifier 2432 hi def link ngxDirective Identifier
2433 hi link ngxDirectiveThirdParty Special 2433 hi def link ngxDirectiveThirdParty Special
2434 hi link ngxDirectiveThirdPartyDeprecated Error 2434 hi def link ngxDirectiveThirdPartyDeprecated Error
2435 2435
2436 hi link ngxListenOptions Keyword 2436 hi def link ngxListenOptions Keyword
2437 hi link ngxListenOptionsDeprecated Error 2437 hi def link ngxListenOptionsDeprecated Error
2438 2438
2439 let b:current_syntax = "nginx" 2439 let b:current_syntax = "nginx"