diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-01-18 20:51:08 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-01-18 20:51:08 +0800 |
commit | fbdfcb59b261672454aee34d486e7f06b5a5d114 (patch) | |
tree | 120204a4055fab5eb487559258735f1524650a78 /script/config | |
parent | 2f6cd61ad2f37a680be1a0c19e09ff4fee1af48d (diff) | |
download | lua-language-server-fbdfcb59b261672454aee34d486e7f06b5a5d114.zip |
update default setting values
Diffstat (limited to 'script/config')
-rw-r--r-- | script/config/config.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/script/config/config.lua b/script/config/config.lua index c4ab69dc..06309d72 100644 --- a/script/config/config.lua +++ b/script/config/config.lua @@ -167,15 +167,15 @@ local Template = { >> util.deepCopy(define.DiagnosticDefaultSeverity), ['Lua.diagnostics.neededFileStatus'] = Type.Hash(Type.String, Type.String) >> util.deepCopy(define.DiagnosticDefaultNeededFileStatus), - ['Lua.diagnostics.workspaceDelay'] = Type.Integer >> 0, + ['Lua.diagnostics.workspaceDelay'] = Type.Integer >> 5, ['Lua.diagnostics.workspaceRate'] = Type.Integer >> 100, ['Lua.diagnostics.libraryFiles'] = Type.String >> 'Opened', ['Lua.diagnostics.ignoredFiles'] = Type.String >> 'Opened', ['Lua.workspace.ignoreDir'] = Type.Array(Type.String), ['Lua.workspace.ignoreSubmodules'] = Type.Boolean >> true, ['Lua.workspace.useGitIgnore'] = Type.Boolean >> true, - ['Lua.workspace.maxPreload'] = Type.Integer >> 1000, - ['Lua.workspace.preloadFileSize'] = Type.Integer >> 100, + ['Lua.workspace.maxPreload'] = Type.Integer >> 3000, + ['Lua.workspace.preloadFileSize'] = Type.Integer >> 500, ['Lua.workspace.library'] = Type.Hash(Type.String, Type.Boolean, ';'), ['Lua.workspace.checkThirdParty'] = Type.Boolean >> true, ['Lua.workspace.userThirdParty'] = Type.Array(Type.String), |