Mercurial > hg > nginx
comparison contrib/vim/syntax/nginx.vim @ 7180:6939f75c4b13
Contrib: vim syntax, listen options.
author | Gena Makhomed <gmm@csdoc.com> |
---|---|
date | Mon, 25 Dec 2017 18:30:01 +0200 |
parents | f505aeaba752 |
children | c9a7f4e11d3e |
comparison
equal
deleted
inserted
replaced
7179:f505aeaba752 | 7180:6939f75c4b13 |
---|---|
60 \ nextgroup=@ngxListenParams skipwhite skipempty | 60 \ nextgroup=@ngxListenParams skipwhite skipempty |
61 syn match ngxListenComment '#.*$' | 61 syn match ngxListenComment '#.*$' |
62 \ contained | 62 \ contained |
63 \ nextgroup=@ngxListenParams skipwhite skipempty | 63 \ nextgroup=@ngxListenParams skipwhite skipempty |
64 syn keyword ngxListenOptions contained | 64 syn keyword ngxListenOptions contained |
65 \ default_server ssl http2 spdy proxy_protocol | 65 \ default_server ssl http2 proxy_protocol |
66 \ setfib fastopen backlog rcvbuf sndbuf accept_filter deferred bind | 66 \ setfib fastopen backlog rcvbuf sndbuf accept_filter deferred bind |
67 \ ipv6only reuseport so_keepalive keepidle | 67 \ ipv6only reuseport so_keepalive |
68 \ nextgroup=@ngxListenParams skipwhite skipempty | |
69 syn keyword ngxListenOptionsDeprecated contained | |
70 \ spdy | |
68 \ nextgroup=@ngxListenParams skipwhite skipempty | 71 \ nextgroup=@ngxListenParams skipwhite skipempty |
69 syn cluster ngxListenParams | 72 syn cluster ngxListenParams |
70 \ contains=ngxListenParam,ngxListenString,ngxListenComment | 73 \ contains=ngxListenParam,ngxListenString,ngxListenComment |
71 \ add=ngxListenOptions | 74 \ add=ngxListenOptions,ngxListenOptionsDeprecated |
72 | 75 |
73 syn keyword ngxDirectiveBlock contained http | 76 syn keyword ngxDirectiveBlock contained http |
74 syn keyword ngxDirectiveBlock contained stream | 77 syn keyword ngxDirectiveBlock contained stream |
75 syn keyword ngxDirectiveBlock contained mail | 78 syn keyword ngxDirectiveBlock contained mail |
76 syn keyword ngxDirectiveBlock contained events | 79 syn keyword ngxDirectiveBlock contained events |
2175 hi link ngxDirectiveDeprecated Error | 2178 hi link ngxDirectiveDeprecated Error |
2176 hi link ngxDirective Identifier | 2179 hi link ngxDirective Identifier |
2177 hi link ngxDirectiveThirdParty Special | 2180 hi link ngxDirectiveThirdParty Special |
2178 | 2181 |
2179 hi link ngxListenOptions Keyword | 2182 hi link ngxListenOptions Keyword |
2183 hi link ngxListenOptionsDeprecated Error | |
2180 | 2184 |
2181 let b:current_syntax = "nginx" | 2185 let b:current_syntax = "nginx" |