From d6e1beca6de5dbcd07bae850734b819cef019930 Mon Sep 17 00:00:00 2001 From: CPea Date: Mon, 17 Apr 2023 19:56:31 +0700 Subject: [PATCH] feat(semantic-tokens): add `enum` types (#50) --- lua/one_monokai/themes/groups.lua | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/lua/one_monokai/themes/groups.lua b/lua/one_monokai/themes/groups.lua index e3fe171..65416e0 100644 --- a/lua/one_monokai/themes/groups.lua +++ b/lua/one_monokai/themes/groups.lua @@ -160,6 +160,8 @@ function groups.get(colors, transparent) ["@lsp.mod.documentation"] = { link = "@constant" }, ["@lsp.type.class"] = { link = "@type" }, ["@lsp.type.comment"] = { link = "@comment" }, + ["@lsp.type.enum"] = { link = "@type" }, + ["@lsp.type.enumMember"] = { link = "@constant" }, ["@lsp.type.function"] = { link = "@function" }, ["@lsp.type.macro"] = { link = "@function" }, ["@lsp.type.method"] = { link = "@function" }, @@ -384,23 +386,6 @@ function groups.get(colors, transparent) LazyUrl = { fg = colors.aqua, undercurl = true }, LazyValue = { fg = colors.fg }, - -- nvim-semantic-token - LspClass = { link = "@constructor" }, - LspComment = { link = "@comment" }, - LspDeprecated = { fg = colors.light_gray, strikethrough = true }, - LspFunction = { link = "@function" }, - LspMacro = { link = "@macro" }, - LspMethod = { link = "@method" }, - LspNamespace = { link = "@namespace" }, - LspNumber = { link = "@number" }, - LspOperator = { link = "@operator" }, - LspParameter = { link = "@parameter" }, - LspProperty = { link = "@property" }, - LspRegexp = { link = "@string.regex" }, - LspString = { link = "@string" }, - LspType = { link = "@type" }, - LspTypeParameter = { link = "@type" }, - -- nvim-navic NavicIconsArray = { link = "Type" }, NavicIconsBoolean = { link = "Boolean" },