feat(lsp): add more highlights (#374)
This commit is contained in:
parent
72d503da90
commit
fc4b07d158
@ -266,13 +266,20 @@ 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.escapeSequence"] = { link = "@string.escape" },
|
||||||
|
["@lsp.type.formatSpecifier"] = { link = "@punctuation.special" },
|
||||||
["@lsp.type.interface"] = { fg = util.lighten(c.blue1, 0.7) },
|
["@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.operator"] = { link = "@operator" },
|
||||||
["@lsp.type.parameter"] = { link = "@parameter" },
|
["@lsp.type.parameter"] = { link = "@parameter" },
|
||||||
["@lsp.type.property"] = { link = "@property" },
|
["@lsp.type.property"] = { link = "@property" },
|
||||||
|
["@lsp.type.selfKeyword"] = { link = "@variable.builtin" },
|
||||||
["@lsp.type.variable"] = {}, -- use treesitter styles for regular variables
|
["@lsp.type.variable"] = {}, -- use treesitter styles for regular variables
|
||||||
|
["@lsp.typemod.enum.defaultLibrary"] = { link = "@type.builtin" },
|
||||||
|
["@lsp.typemod.enumMember.defaultLibrary"] = { link = "@constant.builtin" },
|
||||||
["@lsp.typemod.function.defaultLibrary"] = { link = "@function.builtin" },
|
["@lsp.typemod.function.defaultLibrary"] = { link = "@function.builtin" },
|
||||||
|
["@lsp.typemod.keyword.async"] = { link = "@keyword.coroutine" },
|
||||||
["@lsp.typemod.macro.defaultLibrary"] = { link = "@function.builtin" },
|
["@lsp.typemod.macro.defaultLibrary"] = { link = "@function.builtin" },
|
||||||
["@lsp.typemod.method.defaultLibrary"] = { link = "@function.builtin" },
|
["@lsp.typemod.method.defaultLibrary"] = { link = "@function.builtin" },
|
||||||
["@lsp.typemod.operator.injected"] = { link = "@operator" },
|
["@lsp.typemod.operator.injected"] = { link = "@operator" },
|
||||||
|
Loading…
Reference in New Issue
Block a user