summaryrefslogtreecommitdiffstats
path: root/syntax/modules/http-redis.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/modules/http-redis.vim')
-rw-r--r--syntax/modules/http-redis.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/syntax/modules/http-redis.vim b/syntax/modules/http-redis.vim
new file mode 100644
index 00000000..95a3a34a
--- /dev/null
+++ b/syntax/modules/http-redis.vim
@@ -0,0 +1,14 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" HTTP Redis Module <https://www.nginx.com/resources/wiki/modules/redis/>
+" Redis <http://code.google.com/p/redis/> support.>
+syn keyword ngxDirectiveThirdParty redis_bind
+syn keyword ngxDirectiveThirdParty redis_buffer_size
+syn keyword ngxDirectiveThirdParty redis_connect_timeout
+syn keyword ngxDirectiveThirdParty redis_next_upstream
+syn keyword ngxDirectiveThirdParty redis_pass
+syn keyword ngxDirectiveThirdParty redis_read_timeout
+syn keyword ngxDirectiveThirdParty redis_send_timeout
+
+
+endif