diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-11-23 17:24:51 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-11-23 17:24:51 +0800 |
commit | b18329cea47f2de9c50abefecaccf248c16aa398 (patch) | |
tree | ea5db094a4c1671b6df6bf0691c976880ba0c505 /meta/3rd/OpenResty | |
parent | 2790486d9176170f879f83e363341cc33cfc41c5 (diff) | |
download | lua-language-server-b18329cea47f2de9c50abefecaccf248c16aa398.zip |
change format of `config` in `meta/3rd`
#1607
Diffstat (limited to 'meta/3rd/OpenResty')
-rw-r--r-- | meta/3rd/OpenResty/config.lua | 14 |
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", }, } |