diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-03-15 20:46:58 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-03-15 20:46:58 +0800 |
commit | b552559036d6a635d51ea27da0b59fa9150ac27f (patch) | |
tree | abf10867b13b3198eaae148176e5637f3da8d9f3 /script/config.lua | |
parent | a508e59114168f89d48b16a9c9c1da9c14df7802 (diff) | |
download | lua-language-server-b552559036d6a635d51ea27da0b59fa9150ac27f.zip |
new setting `Lua.runtime.builtin`
Diffstat (limited to 'script/config.lua')
-rw-r--r-- | script/config.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/script/config.lua b/script/config.lua index 18525c13..e34b1ca4 100644 --- a/script/config.lua +++ b/script/config.lua @@ -126,6 +126,23 @@ local ConfigTemplate = { nonstandardSymbol = {{}, Str2Hash ';'}, plugin = {'.vscode/lua/plugin.lua', String}, fileEncoding = {'utf8', String}, + builtin = {{ + ['basic'] = 'enable', + ['bit'] = 'enable', + ['bit32'] = 'enable', + ['builtin'] = 'enable', + ['coroutine'] = 'enable', + ['debug'] = 'enable', + ['ffi'] = 'enable', + ['io'] = 'enable', + ['jit'] = 'enable', + ['math'] = 'enable', + ['os'] = 'enable', + ['package'] = 'enable', + ['string'] = 'enable', + ['table'] = 'enable', + ['utf8'] = 'enable', + }, Hash(String, String)}, }, diagnostics = { enable = {true, Boolean}, |