Skip to content

Commit

Permalink
feat(treesitter): darken builtin types & revert reset comment type (#356
Browse files Browse the repository at this point in the history
)

* feat(treesitter): darken builtin types

* Revert "fix(semantic_tokens): reset comment type (#354)"

This reverts commit 3d2f79c.
  • Loading branch information
amaanq committed Apr 19, 2023
1 parent 26bb05b commit b6f207e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/tokyonight/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 },

Expand All @@ -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) },
Expand Down

0 comments on commit b6f207e

Please sign in to comment.