feat: neovim v0.9 LSP highlighting (#28)

* Updated highlights with Neovim V0.9 LSP highlighting

* Removed test init.lua file

* Moved new highlight definitions to M.highlights

* Removed TableConcat
This commit is contained in:
Blake Wingard
2024-03-27 16:58:21 -05:00
committed by GitHub
parent a19cef29a1
commit fa25db55c4

View File

@@ -320,6 +320,20 @@ M.highlights = {
LspOperator = { link = "@operator" },
LspDecorator = { link = "@symbol" },
LspDeprecated = { link = "@text.strike" },
["@lsp.type.namespace"] = { link = "@namespace", default = true },
["@lsp.type.type"] = { link = "@type", default = true },
["@lsp.type.class"] = { link = "@type", default = true },
["@lsp.type.enum"] = { link = "@type", default = true },
["@lsp.type.interface"] = { link = "@type", default = true },
["@lsp.type.struct"] = { link = "@structure", default = true },
["@lsp.type.parameter"] = { link = "@parameter", default = true },
["@lsp.type.variable"] = { link = "@variable", default = true },
["@lsp.type.property"] = { link = "@property", default = true },
["@lsp.type.enumMember"] = { link = "@constant", default = true },
["@lsp.type.function"] = { link = "@function", default = true },
["@lsp.type.method"] = { link = "@method", default = true },
["@lsp.type.macro"] = { link = "@macro", default = true },
["@lsp.type.decorator"] = { link = "@function", default = true },
-- cmp
CmpItemKindDefault = { fg = p.blue },