summaryrefslogtreecommitdiffstats
path: root/syntax/modules/stream-lua.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/modules/stream-lua.vim')
-rw-r--r--syntax/modules/stream-lua.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/syntax/modules/stream-lua.vim b/syntax/modules/stream-lua.vim
new file mode 100644
index 00000000..1e51ac92
--- /dev/null
+++ b/syntax/modules/stream-lua.vim
@@ -0,0 +1,12 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
+
+" Stream Lua Module <https://github.com/openresty/stream-lua-nginx-module>
+" Embed the power of Lua into Nginx stream/TCP Servers.
+syn keyword ngxDirectiveThirdParty lua_resolver
+syn keyword ngxDirectiveThirdParty lua_resolver_timeout
+syn keyword ngxDirectiveThirdParty lua_lingering_close
+syn keyword ngxDirectiveThirdParty lua_lingering_time
+syn keyword ngxDirectiveThirdParty lua_lingering_timeout
+
+
+endif