[PATCH] Contrib: vim syntax, update 3rd party module directives
OOO
othree at gmail.com
Wed Mar 1 15:34:39 UTC 2017
OH
Yes, Not direct related.
My original plan is have another commit to add skipempty.
(skipwhite not include newline, so this change is required to make
sure highlight correct)
I will fix this commit.
2017-03-01 20:47 GMT+08:00 Maxim Dounin <mdounin at mdounin.ru>:
> Hello!
>
> On Wed, Mar 01, 2017 at 11:44:11AM +0800, othree wrote:
>
>> # HG changeset patch
>> # User othree <othree at gmail.com>
>> # Date 1488339792 -28800
>> # Wed Mar 01 11:43:12 2017 +0800
>> # Node ID b57cf9a765d8f5603f1bf359eb95dadc0a832f18
>> # Parent 8b7fd958c59f8280d167fe7dd93f1942bfed5876
>> Contrib: vim syntax, update 3rd party module directives.
>>
>> diff --git a/contrib/vim/syntax/nginx.vim b/contrib/vim/syntax/nginx.vim
>> --- a/contrib/vim/syntax/nginx.vim
>> +++ b/contrib/vim/syntax/nginx.vim
>> @@ -328,17 +328,17 @@ syn keyword ngxDirective pid
>> syn keyword ngxDirective pop3_auth
>> syn keyword ngxDirective pop3_capabilities
>> syn keyword ngxDirective port_in_redirect
>> syn keyword ngxDirective post_acceptex
>> syn keyword ngxDirective postpone_gzipping
>> syn keyword ngxDirective postpone_output
>> syn keyword ngxDirective preread_buffer_size
>> syn keyword ngxDirective preread_timeout
>> -syn keyword ngxDirective protocol nextgroup=ngxMailProtocol skipwhite
>> +syn keyword ngxDirective protocol nextgroup=ngxMailProtocol skipwhite skipempty
>> syn keyword ngxMailProtocol imap pop3 smtp contained
>> syn keyword ngxDirective proxy
>> syn keyword ngxDirective proxy_bind
>> syn keyword ngxDirective proxy_buffer
>> syn keyword ngxDirective proxy_buffer_size
>> syn keyword ngxDirective proxy_buffering
>> syn keyword ngxDirective proxy_buffers
>> syn keyword ngxDirective proxy_busy_buffers_size
>> @@ -391,17 +391,17 @@ syn keyword ngxDirective proxy_send_time
>> syn keyword ngxDirective proxy_set_body
>> syn keyword ngxDirective proxy_set_header
>> syn keyword ngxDirective proxy_ssl_certificate
>> syn keyword ngxDirective proxy_ssl_certificate_key
>> syn keyword ngxDirective proxy_ssl_ciphers
>> syn keyword ngxDirective proxy_ssl_crl
>> syn keyword ngxDirective proxy_ssl_name
>> syn keyword ngxDirective proxy_ssl_password_file
>> -syn keyword ngxDirective proxy_ssl_protocols nextgroup=ngxSSLProtocol skipwhite
>> +syn keyword ngxDirective proxy_ssl_protocols nextgroup=ngxSSLProtocol skipwhite skipempty
>> syn keyword ngxDirective proxy_ssl_server_name
>> syn keyword ngxDirective proxy_ssl_session_reuse
>> syn keyword ngxDirective proxy_ssl_trusted_certificate
>> syn keyword ngxDirective proxy_ssl_verify
>> syn keyword ngxDirective proxy_ssl_verify_depth
>> syn keyword ngxDirective proxy_store
>> syn keyword ngxDirective proxy_store_access
>> syn keyword ngxDirective proxy_temp_file_write_size
>> @@ -513,18 +513,18 @@ syn keyword ngxDirective ssl_client_cert
>> syn keyword ngxDirective ssl_crl
>> syn keyword ngxDirective ssl_dhparam
>> syn keyword ngxDirective ssl_ecdh_curve
>> syn keyword ngxDirective ssl_engine
>> syn keyword ngxDirective ssl_handshake_timeout
>> syn keyword ngxDirective ssl_password_file
>> syn keyword ngxDirective ssl_prefer_server_ciphers
>> syn keyword ngxDirective ssl_preread
>> -syn keyword ngxDirective ssl_protocols nextgroup=ngxSSLProtocol skipwhite
>> -syn keyword ngxSSLProtocol SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2 contained nextgroup=ngxSSLProtocol skipwhite
>> +syn keyword ngxDirective ssl_protocols nextgroup=ngxSSLProtocol skipwhite skipempty
>> +syn keyword ngxSSLProtocol SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2 contained nextgroup=ngxSSLProtocol skipwhite skipempty
>> syn keyword ngxDirective ssl_session_cache
>> syn keyword ngxDirective ssl_session_ticket_key
>> syn keyword ngxDirective ssl_session_tickets
>> syn keyword ngxDirective ssl_session_timeout
>> syn keyword ngxDirective ssl_stapling
>> syn keyword ngxDirective ssl_stapling_file
>> syn keyword ngxDirective ssl_stapling_responder
>> syn keyword ngxDirective ssl_stapling_verify
>> @@ -605,17 +605,17 @@ syn keyword ngxDirective uwsgi_read_time
>> syn keyword ngxDirective uwsgi_request_buffering
>> syn keyword ngxDirective uwsgi_send_timeout
>> syn keyword ngxDirective uwsgi_ssl_certificate
>> syn keyword ngxDirective uwsgi_ssl_certificate_key
>> syn keyword ngxDirective uwsgi_ssl_ciphers
>> syn keyword ngxDirective uwsgi_ssl_crl
>> syn keyword ngxDirective uwsgi_ssl_name
>> syn keyword ngxDirective uwsgi_ssl_password_file
>> -syn keyword ngxDirective uwsgi_ssl_protocols nextgroup=ngxSSLProtocol skipwhite
>> +syn keyword ngxDirective uwsgi_ssl_protocols nextgroup=ngxSSLProtocol skipwhite skipempty
>> syn keyword ngxDirective uwsgi_ssl_server_name
>> syn keyword ngxDirective uwsgi_ssl_session_reuse
>> syn keyword ngxDirective uwsgi_ssl_trusted_certificate
>> syn keyword ngxDirective uwsgi_ssl_verify
>> syn keyword ngxDirective uwsgi_ssl_verify_depth
>> syn keyword ngxDirective uwsgi_store
>> syn keyword ngxDirective uwsgi_store_access
>> syn keyword ngxDirective uwsgi_string
>
> These changes look unrelated.
>
> [...]
>
> --
> Maxim Dounin
> http://nginx.org/
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
--
OOO
More information about the nginx-devel
mailing list