summaryrefslogtreecommitdiffstats
path: root/syntax/modules/set-lang.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/modules/set-lang.vim')
-rw-r--r--syntax/modules/set-lang.vim15
1 files changed, 15 insertions, 0 deletions
diff --git a/syntax/modules/set-lang.vim b/syntax/modules/set-lang.vim
new file mode 100644
index 00000000..e35e577d
--- /dev/null
+++ b/syntax/modules/set-lang.vim
@@ -0,0 +1,15 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" Set Lang Module <https://github.com/simpl/ngx_http_set_lang>
+" Provides a variety of ways for setting a variable denoting the langauge that content should be returned in.
+syn keyword ngxDirectiveThirdParty set_lang
+syn keyword ngxDirectiveThirdParty set_lang_method
+syn keyword ngxDirectiveThirdParty lang_cookie
+syn keyword ngxDirectiveThirdParty lang_get_var
+syn keyword ngxDirectiveThirdParty lang_list
+syn keyword ngxDirectiveThirdParty lang_post_var
+syn keyword ngxDirectiveThirdParty lang_host
+syn keyword ngxDirectiveThirdParty lang_referer
+
+
+endif