fix(lsp): enumMember should be highlighted @constant (#352)
This commit is contained in:
@@ -90,7 +90,7 @@ local highlights = {
|
||||
link = "@type"
|
||||
},
|
||||
["@lsp.type.enumMember"] = {
|
||||
link = "@property"
|
||||
link = "@constant"
|
||||
},
|
||||
["@lsp.type.interface"] = {
|
||||
link = "@type"
|
||||
|
||||
@@ -90,7 +90,7 @@ local highlights = {
|
||||
link = "@type"
|
||||
},
|
||||
["@lsp.type.enumMember"] = {
|
||||
link = "@property"
|
||||
link = "@constant"
|
||||
},
|
||||
["@lsp.type.interface"] = {
|
||||
link = "@type"
|
||||
|
||||
@@ -90,7 +90,7 @@ local highlights = {
|
||||
link = "@type"
|
||||
},
|
||||
["@lsp.type.enumMember"] = {
|
||||
link = "@property"
|
||||
link = "@constant"
|
||||
},
|
||||
["@lsp.type.interface"] = {
|
||||
link = "@type"
|
||||
|
||||
@@ -90,7 +90,7 @@ local highlights = {
|
||||
link = "@type"
|
||||
},
|
||||
["@lsp.type.enumMember"] = {
|
||||
link = "@property"
|
||||
link = "@constant"
|
||||
},
|
||||
["@lsp.type.interface"] = {
|
||||
link = "@type"
|
||||
|
||||
@@ -258,7 +258,7 @@ function M.setup()
|
||||
-- LSP Semantic Token Groups
|
||||
["@lsp.type.comment"] = { link = "@comment" },
|
||||
["@lsp.type.enum"] = { link = "@type" },
|
||||
["@lsp.type.enumMember"] = { link = "@property" },
|
||||
["@lsp.type.enumMember"] = { link = "@constant" },
|
||||
["@lsp.type.interface"] = { link = "@type" },
|
||||
["@lsp.type.keyword"] = { link = "@keyword" },
|
||||
["@lsp.type.namespace"] = { link = "@namespace" },
|
||||
|
||||
Reference in New Issue
Block a user