fix(lsp): enumMember should be highlighted @constant (#352)

This commit is contained in:
Amaan Qureshi
2023-04-17 01:34:42 -04:00
committed by GitHub
parent 169b76ff87
commit 78bcc2fae7
5 changed files with 5 additions and 5 deletions

View File

@@ -90,7 +90,7 @@ local highlights = {
link = "@type"
},
["@lsp.type.enumMember"] = {
link = "@property"
link = "@constant"
},
["@lsp.type.interface"] = {
link = "@type"

View File

@@ -90,7 +90,7 @@ local highlights = {
link = "@type"
},
["@lsp.type.enumMember"] = {
link = "@property"
link = "@constant"
},
["@lsp.type.interface"] = {
link = "@type"

View File

@@ -90,7 +90,7 @@ local highlights = {
link = "@type"
},
["@lsp.type.enumMember"] = {
link = "@property"
link = "@constant"
},
["@lsp.type.interface"] = {
link = "@type"

View File

@@ -90,7 +90,7 @@ local highlights = {
link = "@type"
},
["@lsp.type.enumMember"] = {
link = "@property"
link = "@constant"
},
["@lsp.type.interface"] = {
link = "@type"

View File

@@ -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" },