runtime(nginx): add additional nginx keywords (#13581) Commit: https://github.com/vim/vim/commit/cf40409e7d17ddadaa697188788753c761479ef8 Author: Chris Aumann <m...@chr4.org> Date: Sun Nov 26 15:06:27 2023 +0100
runtime(nginx): add additional nginx keywords (https://github.com/vim/vim/issues/13581) * Add support for missing keywords to the nginx syntax plugin This adds support for several keywords from - the built-in HTTP/2 module, - the built-in SSL module, - the built-in uWSGI module, - the experimental QUIC branch, - the third-party SSL CT module, - the third-party dynamic TLS records patch. Co-Author: ObserverOfTime <chronobser...@disroot.org> * Add missing http2/ http3 keywords to nginx plugin Co-authored-by: Christian Brabandt <c...@256bit.org> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/syntax/nginx.vim b/runtime/syntax/nginx.vim index 04760e4a2..d036c123d 100644 --- a/runtime/syntax/nginx.vim +++ b/runtime/syntax/nginx.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: nginx.conf " Maintainer: Chris Aumann <m...@chr4.org> -" Last Change: Jan 25, 2023 +" Last Change: Nov 25, 2023 if exists("b:current_syntax") finish @@ -260,6 +260,7 @@ syn keyword ngxDirective hls_forward_args syn keyword ngxDirective hls_fragment syn keyword ngxDirective hls_mp4_buffer_size syn keyword ngxDirective hls_mp4_max_buffer_size +syn keyword ngxDirective http2 syn keyword ngxDirective http2_chunk_size syn keyword ngxDirective http2_body_preread_size syn keyword ngxDirective http2_idle_timeout @@ -271,6 +272,7 @@ syn keyword ngxDirective http2_push syn keyword ngxDirective http2_push_preload syn keyword ngxDirective http2_recv_buffer_size syn keyword ngxDirective http2_recv_timeout +syn keyword ngxDirective http3 syn keyword ngxDirective http3_hq syn keyword ngxDirective http3_max_concurrent_pushes syn keyword ngxDirective http3_max_concurrent_streams -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1r7Fua-00HMZE-1D%40256bit.org.