feat(semantic_tokens): link lsp comments, e.g. conditional C ifdefs that won't evaluate (#334)
This commit is contained in:
@@ -254,9 +254,10 @@ function M.setup()
|
|||||||
["@namespace"] = { link = "Include" },
|
["@namespace"] = { link = "Include" },
|
||||||
|
|
||||||
-- LSP Semantic Token Groups
|
-- LSP Semantic Token Groups
|
||||||
|
["@lsp.type.comment"] = { link = "@comment" },
|
||||||
["@lsp.type.enum"] = { link = "@type" },
|
["@lsp.type.enum"] = { link = "@type" },
|
||||||
["@lsp.type.keyword"] = { link = "@keyword" },
|
|
||||||
["@lsp.type.interface"] = { link = "Identifier" },
|
["@lsp.type.interface"] = { link = "Identifier" },
|
||||||
|
["@lsp.type.keyword"] = { link = "@keyword" },
|
||||||
["@lsp.type.namespace"] = { link = "@namespace" },
|
["@lsp.type.namespace"] = { link = "@namespace" },
|
||||||
["@lsp.type.parameter"] = { link = "@parameter" },
|
["@lsp.type.parameter"] = { link = "@parameter" },
|
||||||
["@lsp.type.property"] = { link = "@property" },
|
["@lsp.type.property"] = { link = "@property" },
|
||||||
|
|||||||
Reference in New Issue
Block a user