[PATCH 1 of 2] Contrib: vim syntax, update core module directives.

Gena Makhomed gmm at csdoc.com
Thu Feb 1 09:19:01 UTC 2018


# HG changeset patch
# User Gena Makhomed <gmm at csdoc.com>
# Date 1517476175 -7200
#      Thu Feb 01 11:09:35 2018 +0200
# Node ID 6db472f8dc8ec04754a42ba22e9663cb7e91f2ab
# Parent  0b72d545f098b407351a1972fba5d29f2e904507
Contrib: vim syntax, update core module directives.

"match" is block directive, "upstream_conf" is deprecated
by patch http://hg.nginx.org/nginx.org/rev/27c53e1cb4b6

diff -r 0b72d545f098 -r 6db472f8dc8e contrib/vim/syntax/nginx.vim
--- a/contrib/vim/syntax/nginx.vim      Tue Jan 30 22:23:58 2018 +0300
+++ b/contrib/vim/syntax/nginx.vim      Thu Feb 01 11:09:35 2018 +0200
@@ -87,6 +87,7 @@
  syn keyword ngxDirectiveBlock contained geo
  syn keyword ngxDirectiveBlock contained map
  syn keyword ngxDirectiveBlock contained split_clients
+syn keyword ngxDirectiveBlock contained match

  syn keyword ngxDirectiveImportant contained include
  syn keyword ngxDirectiveImportant contained root
@@ -117,6 +118,7 @@
  syn keyword ngxDirectiveDeprecated contained spdy_recv_buffer_size
  syn keyword ngxDirectiveDeprecated contained spdy_recv_timeout
  syn keyword ngxDirectiveDeprecated contained spdy_streams_index_size
+syn keyword ngxDirectiveDeprecated contained upstream_conf

  syn keyword ngxDirective contained absolute_redirect
  syn keyword ngxDirective contained accept_mutex
@@ -324,7 +326,6 @@
  syn keyword ngxDirective contained log_subrequest
  syn keyword ngxDirective contained map_hash_bucket_size
  syn keyword ngxDirective contained map_hash_max_size
-syn keyword ngxDirective contained match
  syn keyword ngxDirective contained master_process
  syn keyword ngxDirective contained max_ranges
  syn keyword ngxDirective contained memcached_bind
@@ -582,7 +583,6 @@
  syn keyword ngxDirective contained types_hash_max_size
  syn keyword ngxDirective contained underscores_in_headers
  syn keyword ngxDirective contained uninitialized_variable_warn
-syn keyword ngxDirective contained upstream_conf
  syn keyword ngxDirective contained use
  syn keyword ngxDirective contained user
  syn keyword ngxDirective contained userid



More information about the nginx-devel mailing list