From b233a3cab08699c73239346cd7d51a2a55c62250 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Tue, 14 Mar 2023 07:14:31 -0400 Subject: [PATCH] feat(semantic_tokens): link lsp comments, e.g. conditional C ifdefs that won't evaluate (#334) --- 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 1b354c4..a267c02 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -254,9 +254,10 @@ function M.setup() ["@namespace"] = { link = "Include" }, -- LSP Semantic Token Groups + ["@lsp.type.comment"] = { link = "@comment" }, ["@lsp.type.enum"] = { link = "@type" }, - ["@lsp.type.keyword"] = { link = "@keyword" }, ["@lsp.type.interface"] = { link = "Identifier" }, + ["@lsp.type.keyword"] = { link = "@keyword" }, ["@lsp.type.namespace"] = { link = "@namespace" }, ["@lsp.type.parameter"] = { link = "@parameter" }, ["@lsp.type.property"] = { link = "@property" },