[PATCH] Contrib: vim syntax, update core and 3rd party module directives.

Ruslan Ermilov ru at nginx.com
Tue Apr 10 16:23:41 UTC 2018


On Tue, Apr 10, 2018 at 06:28:36PM +0300, Gena Makhomed wrote:
> # HG changeset patch
> # User Gena Makhomed <gmm at csdoc.com>
> # Date 1523373890 -10800
> #      Tue Apr 10 18:24:50 2018 +0300
> # Node ID 739582ed66b790646c463b3abe5f51a94043cd41
> # Parent  1ad1cdfe7409db7feec0d9c4f715d46175da1ca5
> Contrib: vim syntax, update core and 3rd party module directives.
> 
> diff -r 1ad1cdfe7409 -r 739582ed66b7 contrib/vim/syntax/nginx.vim
> --- a/contrib/vim/syntax/nginx.vim	Tue Apr 10 17:11:10 2018 +0300
> +++ b/contrib/vim/syntax/nginx.vim	Tue Apr 10 18:24:50 2018 +0300
> @@ -119,6 +119,9 @@
>   syn keyword ngxDirectiveDeprecated contained spdy_recv_timeout
>   syn keyword ngxDirectiveDeprecated contained spdy_streams_index_size
>   syn keyword ngxDirectiveDeprecated contained upstream_conf
> +syn keyword ngxDirectiveDeprecated contained status
> +syn keyword ngxDirectiveDeprecated contained status_format
> +syn keyword ngxDirectiveDeprecated contained status_zone

The status_zone directive is not deprecated despite the fact
that it's currently documented in the deprecated status module.
This directive will be moved to http and stream core modules.

>   syn keyword ngxDirective contained absolute_redirect
>   syn keyword ngxDirective contained accept_mutex
> @@ -136,6 +139,7 @@
>   syn keyword ngxDirective contained allow
>   syn keyword ngxDirective contained ancient_browser
>   syn keyword ngxDirective contained ancient_browser_value
> +syn keyword ngxDirective contained api
>   syn keyword ngxDirective contained auth_basic
>   syn keyword ngxDirective contained auth_basic_user_file
>   syn keyword ngxDirective contained auth_http
> @@ -143,7 +147,10 @@
>   syn keyword ngxDirective contained auth_http_pass_client_cert
>   syn keyword ngxDirective contained auth_http_timeout
>   syn keyword ngxDirective contained auth_jwt
> +syn keyword ngxDirective contained auth_jwt_claim_set
> +syn keyword ngxDirective contained auth_jwt_header_set
>   syn keyword ngxDirective contained auth_jwt_key_file
> +syn keyword ngxDirective contained auth_jwt_leeway
>   syn keyword ngxDirective contained auth_request
>   syn keyword ngxDirective contained auth_request_set
>   syn keyword ngxDirective contained autoindex
> @@ -330,6 +337,8 @@
>   syn keyword ngxDirective contained keepalive_disable
>   syn keyword ngxDirective contained keepalive_requests
>   syn keyword ngxDirective contained keepalive_timeout
> +syn keyword ngxDirective contained keyval
> +syn keyword ngxDirective contained keyval_zone
>   syn keyword ngxDirective contained kqueue_changes
>   syn keyword ngxDirective contained kqueue_events
>   syn keyword ngxDirective contained large_client_header_buffers
> @@ -593,9 +602,6 @@
>   syn keyword ngxDirective contained ssl_verify_depth
>   syn keyword ngxDirective contained starttls
>   syn keyword ngxDirective contained state
> -syn keyword ngxDirective contained status
> -syn keyword ngxDirective contained status_format
> -syn keyword ngxDirective contained status_zone
>   syn keyword ngxDirective contained sticky
>   syn keyword ngxDirective contained sticky_cookie_insert
>   syn keyword ngxDirective contained stub_status
> @@ -701,6 +707,25 @@
>   syn keyword ngxDirective contained xslt_stylesheet
>   syn keyword ngxDirective contained xslt_types
>   syn keyword ngxDirective contained zone
> +syn keyword ngxDirective contained zone_sync
> +syn keyword ngxDirective contained zone_sync_buffers
> +syn keyword ngxDirective contained zone_sync_connect_retry_interval
> +syn keyword ngxDirective contained zone_sync_connect_timeout
> +syn keyword ngxDirective contained zone_sync_interval
> +syn keyword ngxDirective contained zone_sync_recv_buffer_size
> +syn keyword ngxDirective contained zone_sync_server
> +syn keyword ngxDirective contained zone_sync_ssl
> +syn keyword ngxDirective contained zone_sync_ssl_certificate
> +syn keyword ngxDirective contained zone_sync_ssl_certificate_key
> +syn keyword ngxDirective contained zone_sync_ssl_ciphers
> +syn keyword ngxDirective contained zone_sync_ssl_crl
> +syn keyword ngxDirective contained zone_sync_ssl_password_file
> +syn keyword ngxDirective contained zone_sync_ssl_protocols
> +syn keyword ngxDirective contained zone_sync_ssl_trusted_certificate
> +syn keyword ngxDirective contained zone_sync_ssl_verify
> +syn keyword ngxDirective contained zone_sync_ssl_verify_depth
> +syn keyword ngxDirective contained zone_sync_timeout
> +
> 
>   " 3rd party modules list taken from
>   " 
> https://github.com/freebsd/freebsd-ports/blob/master/www/nginx-devel/Makefile
> @@ -1355,6 +1380,10 @@
>   " https://www.phusionpassenger.com/library/config/nginx/reference/
>   syn keyword ngxDirectiveThirdParty contained 
> passenger_abort_on_startup_error
>   syn keyword ngxDirectiveThirdParty contained 
> passenger_abort_websockets_on_process_shutdown
> +syn keyword ngxDirectiveThirdParty contained 
> passenger_admin_panel_auth_type
> +syn keyword ngxDirectiveThirdParty contained passenger_admin_panel_password
> +syn keyword ngxDirectiveThirdParty contained passenger_admin_panel_url
> +syn keyword ngxDirectiveThirdParty contained passenger_admin_panel_username
>   syn keyword ngxDirectiveThirdParty contained passenger_app_env
>   syn keyword ngxDirectiveThirdParty contained 
> passenger_app_file_descriptor_ulimit
>   syn keyword ngxDirectiveThirdParty contained passenger_app_group_name
> @@ -1375,6 +1404,7 @@
>   syn keyword ngxDirectiveThirdParty contained passenger_default_user
>   syn keyword ngxDirectiveThirdParty contained 
> passenger_disable_security_update_check
>   syn keyword ngxDirectiveThirdParty contained passenger_document_root
> +syn keyword ngxDirectiveThirdParty contained passenger_dump_config_manifest
>   syn keyword ngxDirectiveThirdParty contained passenger_enabled
>   syn keyword ngxDirectiveThirdParty contained passenger_env_var
>   syn keyword ngxDirectiveThirdParty contained 
> passenger_file_descriptor_log_file
> @@ -1402,6 +1432,7 @@
>   syn keyword ngxDirectiveThirdParty contained passenger_memory_limit
>   syn keyword ngxDirectiveThirdParty contained passenger_meteor_app_settings
>   syn keyword ngxDirectiveThirdParty contained passenger_min_instances
> +syn keyword ngxDirectiveThirdParty contained passenger_monitor_log_file
>   syn keyword ngxDirectiveThirdParty contained passenger_nodejs
>   syn keyword ngxDirectiveThirdParty contained passenger_pass_header
>   syn keyword ngxDirectiveThirdParty contained passenger_pool_idle_time
> 
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
> 

-- 
Ruslan Ermilov
Assume stupidity not malice


More information about the nginx-devel mailing list