Mercurial > hg > nginx
changeset 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 | c391f2e33000 |
files | contrib/vim/syntax/nginx.vim |
diffstat | 1 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/vim/syntax/nginx.vim Mon Dec 25 17:57:01 2017 +0200 +++ b/contrib/vim/syntax/nginx.vim Mon Dec 25 18:30:01 2017 +0200 @@ -62,13 +62,16 @@ \ contained \ nextgroup=@ngxListenParams skipwhite skipempty syn keyword ngxListenOptions contained - \ default_server ssl http2 spdy proxy_protocol + \ default_server ssl http2 proxy_protocol \ setfib fastopen backlog rcvbuf sndbuf accept_filter deferred bind - \ ipv6only reuseport so_keepalive keepidle + \ ipv6only reuseport so_keepalive + \ nextgroup=@ngxListenParams skipwhite skipempty +syn keyword ngxListenOptionsDeprecated contained + \ spdy \ nextgroup=@ngxListenParams skipwhite skipempty syn cluster ngxListenParams \ contains=ngxListenParam,ngxListenString,ngxListenComment - \ add=ngxListenOptions + \ add=ngxListenOptions,ngxListenOptionsDeprecated syn keyword ngxDirectiveBlock contained http syn keyword ngxDirectiveBlock contained stream @@ -2177,5 +2180,6 @@ hi link ngxDirectiveThirdParty Special hi link ngxListenOptions Keyword +hi link ngxListenOptionsDeprecated Error let b:current_syntax = "nginx"