|
|
|
@ -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
|
|
|
|
if vim.version().minor >= 9 and lsp_semantic_tokens then
|
|
|
|
local semantic_hls = {
|
|
|
|
local semantic_hls = {
|
|
|
|
["@lsp.type.class"] = { fg = theme.base0E },
|
|
|
|
["@lsp.type.class"] = { link = "Structure" },
|
|
|
|
["@lsp.type.decorator"] = { fg = theme.base08 },
|
|
|
|
["@lsp.type.decorator"] = { link = "Function" },
|
|
|
|
["@lsp.type.enum"] = { fg = theme.base0A },
|
|
|
|
["@lsp.type.enum"] = { link = "Type" },
|
|
|
|
["@lsp.type.enumMember"] = { fg = theme.base08 },
|
|
|
|
["@lsp.type.enumMember"] = { link = "Constant" },
|
|
|
|
["@lsp.type.function"] = { fg = theme.base0D },
|
|
|
|
["@lsp.type.function"] = { link = "@function" },
|
|
|
|
["@lsp.type.interface"] = { fg = theme.base08 },
|
|
|
|
["@lsp.type.interface"] = { link = "Structure" },
|
|
|
|
["@lsp.type.macro"] = { fg = theme.base08 },
|
|
|
|
["@lsp.type.macro"] = { link = "@macro" },
|
|
|
|
["@lsp.type.method"] = { fg = theme.base0D },
|
|
|
|
["@lsp.type.method"] = { link = "@method" },
|
|
|
|
["@lsp.type.namespace"] = { fg = theme.base08 },
|
|
|
|
["@lsp.type.namespace"] = { link = "@namespace" },
|
|
|
|
["@lsp.type.parameter"] = { fg = theme.base08 },
|
|
|
|
["@lsp.type.parameter"] = { link = "@parameter" },
|
|
|
|
["@lsp.type.property"] = { fg = theme.base08 },
|
|
|
|
["@lsp.type.property"] = { link = "@property" },
|
|
|
|
["@lsp.type.struct"] = { fg = theme.base0E },
|
|
|
|
["@lsp.type.struct"] = { link = "Structure" },
|
|
|
|
["@lsp.type.type"] = { fg = theme.base0A },
|
|
|
|
["@lsp.type.type"] = { link = "@type" },
|
|
|
|
["@lsp.type.typeParamater"] = { fg = theme.base0A },
|
|
|
|
["@lsp.type.typeParamater"] = { link = "TypeDef" },
|
|
|
|
["@lsp.type.variable"] = { fg = theme.base05 },
|
|
|
|
["@lsp.type.variable"] = { link = "@variable" },
|
|
|
|
|
|
|
|
|
|
|
|
-- ["@event"] = { fg = theme.base08 },
|
|
|
|
-- ["@event"] = { fg = theme.base08 },
|
|
|
|
-- ["@modifier"] = { fg = theme.base08 },
|
|
|
|
-- ["@modifier"] = { fg = theme.base08 },
|
|
|
|
|