diff options
-rw-r--r-- | script/config/template.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/config/template.lua b/script/config/template.lua index 6919efa8..ba0fd503 100644 --- a/script/config/template.lua +++ b/script/config/template.lua @@ -317,12 +317,12 @@ local template = { ['Lua.workspace.maxPreload'] = Type.Integer >> 5000, ['Lua.workspace.preloadFileSize'] = Type.Integer >> 500, ['Lua.workspace.library'] = Type.Array(Type.String), - ['Lua.workspace.checkThirdParty'] = Type.String >> 'Ask' << { + ['Lua.workspace.checkThirdParty'] = Type.Or(Type.String >> 'Ask' << { 'Ask', 'Apply', 'ApplyInMemory', 'Disable', - }, + }, Type.Boolean), ['Lua.workspace.userThirdParty'] = Type.Array(Type.String), ['Lua.completion.enable'] = Type.Boolean >> true, ['Lua.completion.callSnippet'] = Type.String >> 'Disable' << { |