From fa25db55c4ce361363a2dcd4ff20daab39a96e47 Mon Sep 17 00:00:00 2001 From: Blake Wingard Date: Wed, 27 Mar 2024 16:58:21 -0500 Subject: [PATCH] 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 --- lua/tokyodark/highlights.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lua/tokyodark/highlights.lua b/lua/tokyodark/highlights.lua index e45836e..c15a42e 100644 --- a/lua/tokyodark/highlights.lua +++ b/lua/tokyodark/highlights.lua @@ -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 },