]> git.kaiwu.me - nginx.git/commitdiff
Contrib: vim syntax, update 3rd party module directives.
authorGena Makhomed <gmm@csdoc.com>
Thu, 1 Feb 2018 09:15:14 +0000 (11:15 +0200)
committerGena Makhomed <gmm@csdoc.com>
Thu, 1 Feb 2018 09:15:14 +0000 (11:15 +0200)
Add new directives for 3rd party modules.

contrib/vim/syntax/nginx.vim

index 766bcce285e1a70f873c6bee1a9e56f91c239a78..0a21372eb8b7372057eb6e410cf3aef83ee106ef 100644 (file)
@@ -954,6 +954,7 @@ syn keyword ngxDirectiveThirdParty contained nchan_redis_publish_msgpacked_max_s
 syn keyword ngxDirectiveThirdParty contained nchan_redis_server
 syn keyword ngxDirectiveThirdParty contained nchan_redis_storage_mode
 syn keyword ngxDirectiveThirdParty contained nchan_redis_url
+syn keyword ngxDirectiveThirdParty contained nchan_redis_wait_after_connecting
 syn keyword ngxDirectiveThirdParty contained nchan_shared_memory_size
 syn keyword ngxDirectiveThirdParty contained nchan_storage_engine
 syn keyword ngxDirectiveThirdParty contained nchan_store_messages
@@ -1080,6 +1081,8 @@ syn keyword ngxDirectiveThirdParty contained tnt_select
 syn keyword ngxDirectiveThirdParty contained tnt_select_limit_max
 syn keyword ngxDirectiveThirdParty contained tnt_send_timeout
 syn keyword ngxDirectiveThirdParty contained tnt_set_header
+syn keyword ngxDirectiveThirdParty contained tnt_update
+syn keyword ngxDirectiveThirdParty contained tnt_upsert
 
 " A module for nginx web server for handling file uploads using multipart/form-data encoding (RFC 1867)
 " https://github.com/Austinb/nginx-upload-module
@@ -2106,8 +2109,10 @@ syn keyword ngxDirectiveThirdParty contained echo_sleep
 
 " Embed the power of Lua into NGINX TCP/UDP servers
 " https://github.com/openresty/stream-lua-nginx-module
+syn keyword ngxDirectiveThirdParty contained lua_add_variable
 syn keyword ngxDirectiveThirdParty contained preread_by_lua_block
 syn keyword ngxDirectiveThirdParty contained preread_by_lua_file
+syn keyword ngxDirectiveThirdParty contained preread_by_lua_no_postpone
 
 " nginx-upsync-module
 " https://github.com/weibocom/nginx-upsync-module