summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/config.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/script/config.lua b/script/config.lua
index f54bc5bc..8ad53b41 100644
--- a/script/config.lua
+++ b/script/config.lua
@@ -105,7 +105,7 @@ local ConfigTemplate = {
globals = {{}, Str2Hash ';'},
disable = {{}, Str2Hash ';'},
severity = {
- table.deepCopy(DiagnosticDefaultSeverity),
+ util.deepCopy(define.DiagnosticDefaultSeverity),
Hash(String, String),
},
workspaceDelay = {0, Integer},
@@ -127,6 +127,7 @@ local ConfigTemplate = {
callSnippet = {'Disable', String},
keywordSnippet = {'Replace', String},
displayContext = {6, Integer},
+ fastGlobal = {true, Boolean},
},
signatureHelp = {
enable = {true, Boolean},
@@ -136,14 +137,21 @@ local ConfigTemplate = {
viewString = {true, Boolean},
viewStringMax = {1000, Integer},
viewNumber = {true, Boolean},
+ fieldInfer = {3000, Integer},
},
color = {
mode = {'Semantic', String},
},
+ luadoc = {
+ enable = {true, Boolean},
+ },
plugin = {
enable = {false, Boolean},
path = {'.vscode/lua-plugin/*.lua', String},
},
+ intelliSense = {
+ searchDepth = {0, Integer},
+ },
}
local OtherTemplate = {