I think there will be about 4 more commits: * Support rewrite flag. * Better location path highlight. * Remove ngxBlock syntax group. * Support geoip2 database keywords.
2017-03-02 17:27 GMT+08:00 othree <[email protected]>: > # HG changeset patch > # User othree <[email protected]> > # Date 1488446347 -28800 > # Thu Mar 02 17:19:07 2017 +0800 > # Node ID e890ea7773ce474b7611d739564712793cc60e2c > # Parent 7fca6f60d5cafa0127b5bc4d6b74fcd06ab532a3 > Contrib: vim syntax, allow multiline config by skipempty. > > 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 -- OOO _______________________________________________ nginx-devel mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx-devel
