Skip to content

Commit a1e97c3

Browse files
committed
update config
1 parent b01a216 commit a1e97c3

File tree

1 file changed

+22
-14
lines changed

1 file changed

+22
-14
lines changed

package/configuration.lua

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -331,21 +331,29 @@ local config = {
331331
default = '@',
332332
markdownDescription = "%config.completion.postfix%"
333333
},
334-
["Lua.color.mode"] = {
334+
["Lua.semantic.enable"] = {
335335
scope = 'resource',
336-
type = "string",
337-
default = "Semantic",
338-
enum = {
339-
"Grammar",
340-
"Semantic",
341-
"SemanticEnhanced",
342-
},
343-
markdownEnumDescriptions = {
344-
"%config.color.mode.Grammar%",
345-
"%config.color.mode.Semantic%",
346-
"%config.color.mode.SemanticEnhanced%",
347-
},
348-
markdownDescription = "%config.color.mode%"
336+
type = "boolean",
337+
default = true,
338+
markdownDescription = "%config.semantic.enable%"
339+
},
340+
["Lua.semantic.variable"] = {
341+
scope = 'resource',
342+
type = "boolean",
343+
default = true,
344+
markdownDescription = "%config.semantic.variable%"
345+
},
346+
["Lua.semantic.annotation"] = {
347+
scope = 'resource',
348+
type = "boolean",
349+
default = true,
350+
markdownDescription = "%config.semantic.annotation%"
351+
},
352+
["Lua.semantic.keyword"] = {
353+
scope = 'resource',
354+
type = "boolean",
355+
default = false,
356+
markdownDescription = "%config.semantic.keyword%"
349357
},
350358
["Lua.signatureHelp.enable"] = {
351359
scope = 'resource',

0 commit comments

Comments
 (0)