summaryrefslogtreecommitdiffstats
path: root/syntax/modules/consistent-hash.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2016-12-20 20:57:20 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2016-12-20 20:57:20 +0100
commite404a658b1647fad396a954776eda0bdabf8353c (patch)
treefcdab0e324fd72015ba656e43bd8f8c243030c14 /syntax/modules/consistent-hash.vim
parent74652b465d7eff97070001317a4ea5557717378d (diff)
downloadvim-polyglot-e404a658b1647fad396a954776eda0bdabf8353c.tar.gz
vim-polyglot-e404a658b1647fad396a954776eda0bdabf8353c.zip
Update
Diffstat (limited to 'syntax/modules/consistent-hash.vim')
-rw-r--r--syntax/modules/consistent-hash.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/syntax/modules/consistent-hash.vim b/syntax/modules/consistent-hash.vim
new file mode 100644
index 00000000..b066b2b0
--- /dev/null
+++ b/syntax/modules/consistent-hash.vim
@@ -0,0 +1,8 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" Upstream Consistent Hash <https://www.nginx.com/resources/wiki/modules/consistent_hash/>
+" A load balancer that uses an internal consistent hash ring to select the right backend node.
+syn keyword ngxDirectiveThirdParty consistent_hash
+
+
+endif