Skip to content

Commit d6e1bec

Browse files
authored
feat(semantic-tokens): add enum types (#50)
1 parent 057fc34 commit d6e1bec

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

lua/one_monokai/themes/groups.lua

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ function groups.get(colors, transparent)
160160
["@lsp.mod.documentation"] = { link = "@constant" },
161161
["@lsp.type.class"] = { link = "@type" },
162162
["@lsp.type.comment"] = { link = "@comment" },
163+
["@lsp.type.enum"] = { link = "@type" },
164+
["@lsp.type.enumMember"] = { link = "@constant" },
163165
["@lsp.type.function"] = { link = "@function" },
164166
["@lsp.type.macro"] = { link = "@function" },
165167
["@lsp.type.method"] = { link = "@function" },
@@ -384,23 +386,6 @@ function groups.get(colors, transparent)
384386
LazyUrl = { fg = colors.aqua, undercurl = true },
385387
LazyValue = { fg = colors.fg },
386388

387-
-- nvim-semantic-token
388-
LspClass = { link = "@constructor" },
389-
LspComment = { link = "@comment" },
390-
LspDeprecated = { fg = colors.light_gray, strikethrough = true },
391-
LspFunction = { link = "@function" },
392-
LspMacro = { link = "@macro" },
393-
LspMethod = { link = "@method" },
394-
LspNamespace = { link = "@namespace" },
395-
LspNumber = { link = "@number" },
396-
LspOperator = { link = "@operator" },
397-
LspParameter = { link = "@parameter" },
398-
LspProperty = { link = "@property" },
399-
LspRegexp = { link = "@string.regex" },
400-
LspString = { link = "@string" },
401-
LspType = { link = "@type" },
402-
LspTypeParameter = { link = "@type" },
403-
404389
-- nvim-navic
405390
NavicIconsArray = { link = "Type" },
406391
NavicIconsBoolean = { link = "Boolean" },

0 commit comments

Comments
 (0)