From b6f207ebf6e3de9acbbc443623ad74b65bd00d05 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Wed, 19 Apr 2023 01:17:47 -0400 Subject: [PATCH] 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 3d2f79cd1f3cea7520d5cc4d06c8010fe2592db8. --- lua/tokyonight/theme.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index a22f600..372ef46 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -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) },