summaryrefslogtreecommitdiffstats
path: root/syntax/modules/selective-cache-purge.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/modules/selective-cache-purge.vim')
-rw-r--r--syntax/modules/selective-cache-purge.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/syntax/modules/selective-cache-purge.vim b/syntax/modules/selective-cache-purge.vim
new file mode 100644
index 00000000..d67d9727
--- /dev/null
+++ b/syntax/modules/selective-cache-purge.vim
@@ -0,0 +1,12 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" Selective Cache Purge Module <https://github.com/wandenberg/nginx-selective-cache-purge-module>
+" A module to purge cache by GLOB patterns. The supported patterns are the same as supported by Redis.
+syn keyword ngxDirectiveThirdParty selective_cache_purge_redis_unix_socket
+syn keyword ngxDirectiveThirdParty selective_cache_purge_redis_host
+syn keyword ngxDirectiveThirdParty selective_cache_purge_redis_port
+syn keyword ngxDirectiveThirdParty selective_cache_purge_redis_database
+syn keyword ngxDirectiveThirdParty selective_cache_purge_query
+
+
+endif