summaryrefslogtreecommitdiff
path: root/script/config
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-01-11 21:01:17 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-01-11 21:01:17 +0800
commit12bc09de1e6c30c5c241a22640579268f51e07e4 (patch)
treefaaf9ef7d71b43583a74d72ef6cd56e87cdbc387 /script/config
parent9cb0fa1098e466efac78401ff76c422ac27bfab8 (diff)
downloadlua-language-server-12bc09de1e6c30c5c241a22640579268f51e07e4.zip
add semantic configs
Diffstat (limited to 'script/config')
-rw-r--r--script/config/config.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/config/config.lua b/script/config/config.lua
index 9f731dc9..f72f5e57 100644
--- a/script/config/config.lua
+++ b/script/config/config.lua
@@ -197,6 +197,9 @@ local Template = {
['Lua.hover.previewFields'] = Type.Integer >> 20,
['Lua.hover.enumsLimit'] = Type.Integer >> 5,
['Lua.semantic.enable'] = Type.Boolean >> true,
+ ['Lua.semantic.variable'] = Type.Boolean >> true,
+ ['Lua.semantic.annotation'] = Type.Boolean >> true,
+ ['Lua.semantic.keyword'] = Type.Boolean >> false,
['Lua.hint.enable'] = Type.Boolean >> false,
['Lua.hint.paramType'] = Type.Boolean >> true,
['Lua.hint.setType'] = Type.Boolean >> false,