aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorvgeof <44399944+vgeof@users.noreply.github.com>2023-08-03 22:57:07 +0200
committerGitHub <noreply@github.com>2023-08-03 17:57:07 -0300
commit353be593e52e2008ce17d61208668747dd557248 (patch)
tree2a4ef3557a36db5da4836477bdee5bfcb9969810 /lua
parentdf149bccb19a02c5c2b9fa6ec0716f0c0487feb0 (diff)
downloadgruvbox-353be593e52e2008ce17d61208668747dd557248.tar.gz
gruvbox-353be593e52e2008ce17d61208668747dd557248.tar.xz
LspSemanticHighlight more consistent with Treesitter (#255)
Co-authored-by: Vivien GEOFFROY <x2028200@PARMPYLL8ZL1.ratpsmart.local>
Diffstat (limited to 'lua')
-rw-r--r--lua/gruvbox/groups.lua8
1 files changed, 4 insertions, 4 deletions
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" },