summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty
diff options
context:
space:
mode:
authorMichael Martin <flrgh@protonmail.com>2021-12-21 18:15:04 -0800
committerMichael Martin <flrgh@protonmail.com>2021-12-21 18:15:04 -0800
commitd02859dd8b12bd1eca1f083132e4fc03cde7d65c (patch)
treeaec4af18544e38817be7a11c225b4869dcc56ee5 /meta/3rd/OpenResty
parent90ad22a22d60d4455053da1847c2f50ab4a52983 (diff)
downloadlua-language-server-d02859dd8b12bd1eca1f083132e4fc03cde7d65c.zip
feat: add ngx global variable to OpenResty library config
Diffstat (limited to 'meta/3rd/OpenResty')
-rw-r--r--meta/3rd/OpenResty/config.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/3rd/OpenResty/config.lua b/meta/3rd/OpenResty/config.lua
index 32ac9b29..979dd660 100644
--- a/meta/3rd/OpenResty/config.lua
+++ b/meta/3rd/OpenResty/config.lua
@@ -17,4 +17,9 @@ configs = {
action = 'set',
value = 'LuaJIT',
},
+ {
+ key = 'Lua.diagnostics.globals',
+ action = 'add',
+ value = 'ngx',
+ },
}