diff --git a/lua/base46/integrations/syntax.lua b/lua/base46/integrations/syntax.lua index dd8d7f2..bcd5a8f 100644 --- a/lua/base46/integrations/syntax.lua +++ b/lua/base46/integrations/syntax.lua @@ -120,21 +120,21 @@ local lsp_semantic_tokens = require("core.utils").load_config().ui.lsp_semantic_ if vim.version().minor >= 9 and lsp_semantic_tokens then local semantic_hls = { - ["@lsp.type.class"] = { fg = theme.base0E }, - ["@lsp.type.decorator"] = { fg = theme.base08 }, - ["@lsp.type.enum"] = { fg = theme.base0A }, - ["@lsp.type.enumMember"] = { fg = theme.base08 }, - ["@lsp.type.function"] = { fg = theme.base0D }, - ["@lsp.type.interface"] = { fg = theme.base08 }, - ["@lsp.type.macro"] = { fg = theme.base08 }, - ["@lsp.type.method"] = { fg = theme.base0D }, - ["@lsp.type.namespace"] = { fg = theme.base08 }, - ["@lsp.type.parameter"] = { fg = theme.base08 }, - ["@lsp.type.property"] = { fg = theme.base08 }, - ["@lsp.type.struct"] = { fg = theme.base0E }, - ["@lsp.type.type"] = { fg = theme.base0A }, - ["@lsp.type.typeParamater"] = { fg = theme.base0A }, - ["@lsp.type.variable"] = { fg = theme.base05 }, + ["@lsp.type.class"] = { link = "Structure" }, + ["@lsp.type.decorator"] = { link = "Function" }, + ["@lsp.type.enum"] = { link = "Type" }, + ["@lsp.type.enumMember"] = { link = "Constant" }, + ["@lsp.type.function"] = { link = "@function" }, + ["@lsp.type.interface"] = { link = "Structure" }, + ["@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 = "Structure" }, + ["@lsp.type.type"] = { link = "@type" }, + ["@lsp.type.typeParamater"] = { link = "TypeDef" }, + ["@lsp.type.variable"] = { link = "@variable" }, -- ["@event"] = { fg = theme.base08 }, -- ["@modifier"] = { fg = theme.base08 },