diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-10-22 14:38:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-10-22 14:38:55 +0800 |
commit | f08a882687302e311b3a92fa8f2ac25aaa145218 (patch) | |
tree | 4ba68db317ae21715e88e1689c1a38f8852c9848 | |
parent | 303892a7543b5c2e4adabad9b51d76cdf83884be (diff) | |
download | lua-language-server-f08a882687302e311b3a92fa8f2ac25aaa145218.zip |
update luarc
-rw-r--r-- | .luarc.json | 64 |
1 files changed, 39 insertions, 25 deletions
diff --git a/.luarc.json b/.luarc.json index 1efff2fc..5012f62b 100644 --- a/.luarc.json +++ b/.luarc.json @@ -1,29 +1,43 @@ { "$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json", - "diagnostics.disable": [ - "close-non-object" - ], - "runtime.version": "Lua 5.4", - "workspace.maxPreload": 1600, - "workspace.preloadFileSize": 1000, - "diagnostics.neededFileStatus": { - "undefined-field": "Any" + + "color": { + "mode": "SemanticEnhanced" }, - "workspace.ignoreDir": [ - "locale/", - "libs/", - "3rd", - ".vscode", - "meta" - ], - "workspace.library": [ - "script/meta", - "bin" - ], - "runtime.path": [ - "?.lua", - "script/?.lua", - "script/?/init.lua" - ], - "Lua.color.mode": "SemanticEnhanced" + "diagnostics": { + "disable": [ + "close-non-object" + ], + "neededFileStatus": { + "undefined-field": "Any" + }, + "ignoredFiles": "Opened", + "libraryFiles": "Opened" + }, + "runtime": { + "version": "Lua 5.4", + "path": [ + "?.lua", + "script/?.lua", + "script/?/init.lua" + ], + }, + "workspace": { + "maxPreload": 1600, + "preloadFileSize": 1000, + "ignoreDir": [ + "locale/", + "libs/", + "3rd", + ".vscode", + "meta" + ], + "library": [ + "script/meta", + "bin" + ] + }, + "hint": { + "enable": true + } } |