diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-08 15:49:10 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-08 15:49:10 +0800 |
commit | 4876958951dff23ed234523d89b47a854e88acea (patch) | |
tree | 5166c29516c525de2d69d8ff03a2c40bc5e0ec99 /meta/3rd/OpenResty | |
parent | 9c21a7a38a6b3f79f8d74cf9ce45ecb431c8ef9a (diff) | |
download | lua-language-server-4876958951dff23ed234523d89b47a854e88acea.zip |
also supports filename
Diffstat (limited to 'meta/3rd/OpenResty')
-rw-r--r-- | meta/3rd/OpenResty/config.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/3rd/OpenResty/config.lua b/meta/3rd/OpenResty/config.lua new file mode 100644 index 00000000..6cf1d8df --- /dev/null +++ b/meta/3rd/OpenResty/config.lua @@ -0,0 +1,24 @@ +-- list of matched words +words = {} +-- list or matched file names +files = {} +-- lsit of settings to be changed +configs = { + { + key = 'Lua.runtime.version', + action = 'set', + value = 'LuaJIT', + }, + { + key = 'Lua.diagnostics.globals', + action = 'add', + value = 'global1', + } +} +for _, name in ipairs {'global2', 'global3', 'global4'} do + configs[#configs+1] = { + key = 'Lua.diagnostics.globals', + action = 'add', + value = name, + } +end |