feat(treesitter): darken builtin types & revert reset comment type (#356)
* feat(treesitter): darken builtin types
* Revert "fix(semantic_tokens): reset comment type (#354)"
This reverts commit 3d2f79cd1f.
This commit is contained in:
@@ -234,6 +234,7 @@ function M.setup()
|
|||||||
["@label"] = { fg = c.blue }, -- For labels: `label:` in C and `:label:` in Lua.
|
["@label"] = { fg = c.blue }, -- For labels: `label:` in C and `:label:` in Lua.
|
||||||
|
|
||||||
--- Types
|
--- Types
|
||||||
|
["@type.builtin"] = { fg = util.darken(c.blue1, 0.8) },
|
||||||
["@field"] = { fg = c.green1 }, -- For fields.
|
["@field"] = { fg = c.green1 }, -- For fields.
|
||||||
["@property"] = { fg = c.green1 },
|
["@property"] = { fg = c.green1 },
|
||||||
|
|
||||||
@@ -257,7 +258,7 @@ function M.setup()
|
|||||||
["@namespace"] = { link = "Include" },
|
["@namespace"] = { link = "Include" },
|
||||||
|
|
||||||
-- LSP Semantic Token Groups
|
-- LSP Semantic Token Groups
|
||||||
["@lsp.type.comment"] = {},
|
["@lsp.type.comment"] = { link = "@comment" },
|
||||||
["@lsp.type.enum"] = { link = "@type" },
|
["@lsp.type.enum"] = { link = "@type" },
|
||||||
["@lsp.type.enumMember"] = { link = "@constant" },
|
["@lsp.type.enumMember"] = { link = "@constant" },
|
||||||
["@lsp.type.interface"] = { fg = util.lighten(c.blue1, 0.7) },
|
["@lsp.type.interface"] = { fg = util.lighten(c.blue1, 0.7) },
|
||||||
|
|||||||
Reference in New Issue
Block a user