From 353be593e52e2008ce17d61208668747dd557248 Mon Sep 17 00:00:00 2001 From: vgeof <44399944+vgeof@users.noreply.github.com> Date: Thu, 3 Aug 2023 22:57:07 +0200 Subject: LspSemanticHighlight more consistent with Treesitter (#255) Co-authored-by: Vivien GEOFFROY --- lua/gruvbox/groups.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lua') diff --git a/lua/gruvbox/groups.lua b/lua/gruvbox/groups.lua index 1d22555..6e01858 100644 --- a/lua/gruvbox/groups.lua +++ b/lua/gruvbox/groups.lua @@ -408,19 +408,19 @@ M.setup = function() -- Semantic token -- See `:help lsp-semantic-highlight` - ["@lsp.type.class"] = { link = "@constructor" }, + ["@lsp.type.class"] = { link = "@type" }, ["@lsp.type.comment"] = {}, -- do not overwrite comments - ["@lsp.type.decorator"] = { link = "@parameter" }, + ["@lsp.type.decorator"] = { link = "@macro" }, ["@lsp.type.enum"] = { link = "@type" }, ["@lsp.type.enumMember"] = { link = "@constant" }, ["@lsp.type.function"] = { link = "@function" }, - ["@lsp.type.interface"] = { link = "@keyword" }, + ["@lsp.type.interface"] = { link = "@constructor" }, ["@lsp.type.macro"] = { link = "@macro" }, ["@lsp.type.method"] = { link = "@method" }, ["@lsp.type.namespace"] = { link = "@namespace" }, ["@lsp.type.parameter"] = { link = "@parameter" }, ["@lsp.type.property"] = { link = "@property" }, - ["@lsp.type.struct"] = { link = "@constructor" }, + ["@lsp.type.struct"] = { link = "@type" }, ["@lsp.type.type"] = { link = "@type" }, ["@lsp.type.typeParameter"] = { link = "@type.definition" }, ["@lsp.type.variable"] = { link = "@variable" }, -- cgit v1.2.3