summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorCppCXY <812125110@qq.com>2022-08-17 20:18:47 +0800
committerCppCXY <812125110@qq.com>2022-08-17 20:18:47 +0800
commite279acb08829e31cdaae87f93c1c187d87907e57 (patch)
treeb1821a42c4803e04655a7ed4801fb9a8706c592b /script
parentc3d602a11de758f14e46a2b49539e5fe9c76dd8c (diff)
downloadlua-language-server-e279acb08829e31cdaae87f93c1c187d87907e57.zip
默认一些选项
Diffstat (limited to 'script')
-rw-r--r--script/config/template.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/script/config/template.lua b/script/config/template.lua
index a08b9e53..14c341e1 100644
--- a/script/config/template.lua
+++ b/script/config/template.lua
@@ -373,7 +373,10 @@ local template = {
['Lua.format.defaultConfig'] = Type.Hash(Type.String, Type.String)
>> {},
['Lua.typeFormat.config'] = Type.Hash(Type.String, Type.String)
- >> {},
+ >> {
+ format_line = "true",
+ auto_complete_end = "true"
+ },
['Lua.spell.dict'] = Type.Array(Type.String),
['Lua.telemetry.enable'] = Type.Or(Type.Boolean >> false, Type.Nil) >> nil,
['Lua.misc.parameters'] = Type.Array(Type.String),