]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(nginx): Add NGINX directive for background cache updates
authorS0AndS0 <strangerthanbland@gmail.com>
Sun, 8 Jun 2025 14:15:00 +0000 (16:15 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 8 Jun 2025 14:15:00 +0000 (16:15 +0200)
Docs: https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_background_update

closes: #17458

Signed-off-by: S0AndS0 <strangerthanbland@gmail.com>
Signed-off-by: Chris Aumann <me@chr4.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/nginx.vim

index d036c123de54754a1383f5b5a29e569efcb06811..ad8bdbf3594acfcd3a1ea1f37f4c8e7103fdeee5 100644 (file)
@@ -2,6 +2,7 @@
 " Language: nginx.conf
 " Maintainer: Chris Aumann <me@chr4.org>
 " Last Change: Nov 25, 2023
+" 2025 Jun 08 by Vim Project: improve syntax (#17458)
 
 if exists("b:current_syntax")
   finish
@@ -389,6 +390,7 @@ syn keyword ngxDirective proxy_buffering
 syn keyword ngxDirective proxy_buffers
 syn keyword ngxDirective proxy_busy_buffers_size
 syn keyword ngxDirective proxy_cache
+syn keyword ngxDirective proxy_cache_background_update
 syn keyword ngxDirective proxy_cache_bypass
 syn keyword ngxDirective proxy_cache_convert_head
 syn keyword ngxDirective proxy_cache_key