diff options
author | Michael Martin <flrgh@protonmail.com> | 2021-12-21 18:15:04 -0800 |
---|---|---|
committer | Michael Martin <flrgh@protonmail.com> | 2021-12-21 18:15:04 -0800 |
commit | d02859dd8b12bd1eca1f083132e4fc03cde7d65c (patch) | |
tree | aec4af18544e38817be7a11c225b4869dcc56ee5 /meta/3rd/OpenResty | |
parent | 90ad22a22d60d4455053da1847c2f50ab4a52983 (diff) | |
download | lua-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.lua | 5 |
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', + }, } |