[PATCH 2 of 2] Contrib: vim syntax, update 3rd party module directives.

Gena Makhomed gmm at csdoc.com
Thu Feb 1 09:20:11 UTC 2018


# HG changeset patch
# User Gena Makhomed <gmm at csdoc.com>
# Date 1517476514 -7200
#      Thu Feb 01 11:15:14 2018 +0200
# Node ID 2e0de79805eee669cca7e2455010689a3191f268
# Parent  6db472f8dc8ec04754a42ba22e9663cb7e91f2ab
Contrib: vim syntax, update 3rd party module directives.

Add new directives for 3rd party modules.

diff -r 6db472f8dc8e -r 2e0de79805ee contrib/vim/syntax/nginx.vim
--- a/contrib/vim/syntax/nginx.vim      Thu Feb 01 11:09:35 2018 +0200
+++ b/contrib/vim/syntax/nginx.vim      Thu Feb 01 11:15:14 2018 +0200
@@ -954,6 +954,7 @@
  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_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 @@

  " 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



More information about the nginx-devel mailing list