summaryrefslogtreecommitdiffstats
path: root/syntax/modules/set-hash.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/modules/set-hash.vim')
-rw-r--r--syntax/modules/set-hash.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/syntax/modules/set-hash.vim b/syntax/modules/set-hash.vim
new file mode 100644
index 00000000..0c2d7d78
--- /dev/null
+++ b/syntax/modules/set-hash.vim
@@ -0,0 +1,13 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" Set Hash Module <https://github.com/simpl/ngx_http_set_hash>
+" Nginx module that allows the setting of variables to the value of a variety of hashes
+syn keyword ngxDirectiveThirdParty set_md5
+syn keyword ngxDirectiveThirdParty set_md5_upper
+syn keyword ngxDirectiveThirdParty set_murmur2
+syn keyword ngxDirectiveThirdParty set_murmur2_upper
+syn keyword ngxDirectiveThirdParty set_sha1
+syn keyword ngxDirectiveThirdParty set_sha1_upper
+
+
+endif