Skip to content

Commit

Permalink
feat(semantic-tokens): add enum types (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpea2506 authored Apr 17, 2023
1 parent 057fc34 commit d6e1bec
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions lua/one_monokai/themes/groups.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down Expand Up @@ -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" },
Expand Down

0 comments on commit d6e1bec

Please sign in to comment.