feat(semantic_tokens): slightly different style for interfaces and default types
This commit is contained in:
parent
6ebd35868f
commit
3af1264567
@ -260,13 +260,14 @@ function M.setup()
|
|||||||
["@lsp.type.comment"] = { link = "@comment" },
|
["@lsp.type.comment"] = { link = "@comment" },
|
||||||
["@lsp.type.enum"] = { link = "@type" },
|
["@lsp.type.enum"] = { link = "@type" },
|
||||||
["@lsp.type.enumMember"] = { link = "@constant" },
|
["@lsp.type.enumMember"] = { link = "@constant" },
|
||||||
["@lsp.type.interface"] = { link = "@type" },
|
["@lsp.type.interface"] = { fg = util.lighten(c.blue1, 0.7) },
|
||||||
["@lsp.type.keyword"] = { link = "@keyword" },
|
["@lsp.type.keyword"] = { link = "@keyword" },
|
||||||
["@lsp.type.namespace"] = { link = "@namespace" },
|
["@lsp.type.namespace"] = { link = "@namespace" },
|
||||||
["@lsp.type.parameter"] = { link = "@parameter" },
|
["@lsp.type.parameter"] = { link = "@parameter" },
|
||||||
["@lsp.type.property"] = { link = "@property" },
|
["@lsp.type.property"] = { link = "@property" },
|
||||||
["@lsp.type.variable"] = {}, -- use treesitter styles for regular variables
|
["@lsp.type.variable"] = {}, -- use treesitter styles for regular variables
|
||||||
["@lsp.typemod.method.defaultLibrary"] = { link = "@function.builtin" },
|
["@lsp.typemod.method.defaultLibrary"] = { link = "@function.builtin" },
|
||||||
|
["@lsp.typemod.type.defaultLibrary"] = { fg = util.darken(c.blue1, 0.7) },
|
||||||
["@lsp.typemod.function.defaultLibrary"] = { link = "@function.builtin" },
|
["@lsp.typemod.function.defaultLibrary"] = { link = "@function.builtin" },
|
||||||
["@lsp.typemod.operator.injected"] = { link = "@operator" },
|
["@lsp.typemod.operator.injected"] = { link = "@operator" },
|
||||||
["@lsp.typemod.string.injected"] = { link = "@string" },
|
["@lsp.typemod.string.injected"] = { link = "@string" },
|
||||||
|
Loading…
Reference in New Issue
Block a user