vim-polyglot/syntax/modules/stream-upsync.vim

12 lines
490 B
VimL
Raw Normal View History

2016-12-20 14:57:20 -05:00
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Stream Upsync Module <https://github.com/xiaokai-wang/nginx-stream-upsync-module>
2017-02-02 15:16:29 -05:00
" Sync upstreams from consul or others, dynamiclly modify backend-servers attribute(weight, max_fails,...), needn't reload nginx.
2016-12-20 14:57:20 -05:00
syn keyword ngxDirectiveThirdParty upsync
syn keyword ngxDirectiveThirdParty upsync_dump_path
syn keyword ngxDirectiveThirdParty upsync_lb
syn keyword ngxDirectiveThirdParty upsync_show
endif