summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/OpenResty')
-rw-r--r--meta/3rd/OpenResty/config.lua14
1 files changed, 4 insertions, 10 deletions
diff --git a/meta/3rd/OpenResty/config.lua b/meta/3rd/OpenResty/config.lua
index 979dd660..8ca0382f 100644
--- a/meta/3rd/OpenResty/config.lua
+++ b/meta/3rd/OpenResty/config.lua
@@ -11,15 +11,9 @@ words = {
'ngx%.%w+',
}
-configs = {
- {
- key = 'Lua.runtime.version',
- action = 'set',
- value = 'LuaJIT',
- },
- {
- key = 'Lua.diagnostics.globals',
- action = 'add',
- value = 'ngx',
+config = {
+ ["Lua.runtime.version"] = "LuaJIT",
+ ["Lua.diagnostics.globals"] = {
+ "ngx",
},
}