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:
Amaan Qureshi
2023-04-19 01:17:47 -04:00
committed by GitHub
parent 26bb05ba11
commit b6f207ebf6

View File

@@ -234,6 +234,7 @@ function M.setup()
["@label"] = { fg = c.blue }, -- For labels: `label:` in C and `:label:` in Lua.
--- Types
["@type.builtin"] = { fg = util.darken(c.blue1, 0.8) },
["@field"] = { fg = c.green1 }, -- For fields.
["@property"] = { fg = c.green1 },
@@ -257,7 +258,7 @@ function M.setup()
["@namespace"] = { link = "Include" },
-- LSP Semantic Token Groups
["@lsp.type.comment"] = {},
["@lsp.type.comment"] = { link = "@comment" },
["@lsp.type.enum"] = { link = "@type" },
["@lsp.type.enumMember"] = { link = "@constant" },
["@lsp.type.interface"] = { fg = util.lighten(c.blue1, 0.7) },