Skip to content

Commit de4f4c6

Browse files
authored
fix(semantic-tokens): link to existent highlight groups (#84)
1 parent a200b67 commit de4f4c6

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

lua/one_monokai/themes/groups.lua

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -188,22 +188,22 @@ local defaults = {
188188

189189
-- semantic tokens
190190
["@lsp.mod.deprecated"] = { fg = colors.light_gray, strikethrough = true },
191-
["@lsp.mod.documentation"] = { link = "@constant" },
192-
["@lsp.type.class"] = { link = "@type" },
193-
["@lsp.type.comment"] = { link = "@comment" },
194-
["@lsp.type.enum"] = { link = "@type" },
195-
["@lsp.type.enumMember"] = { link = "@constant" },
196-
["@lsp.type.function"] = { link = "@function" },
197-
["@lsp.type.macro"] = { link = "@function" },
198-
["@lsp.type.method"] = { link = "@function" },
199-
["@lsp.type.namespace"] = { link = "@namespace" },
200-
["@lsp.type.number"] = { link = "@number" },
201-
["@lsp.type.operator"] = { link = "@operator" },
202-
["@lsp.type.parameter"] = { link = "@parameter" },
203-
["@lsp.type.property"] = { link = "@property" },
204-
["@lsp.type.string"] = { link = "@string" },
205-
["@lsp.type.struct"] = { link = "@type" },
206-
["@lsp.type.typeParameter"] = { link = "@type" },
191+
["@lsp.mod.documentation"] = { link = "Constant" },
192+
["@lsp.type.class"] = { link = "Type" },
193+
["@lsp.type.comment"] = { link = "Comment" },
194+
["@lsp.type.enum"] = { link = "Type" },
195+
["@lsp.type.enumMember"] = { link = "Constant" },
196+
["@lsp.type.function"] = { link = "Function" },
197+
["@lsp.type.macro"] = { link = "Function" },
198+
["@lsp.type.method"] = { link = "Function" },
199+
["@lsp.type.namespace"] = { link = "Include" },
200+
["@lsp.type.number"] = { link = "Number" },
201+
["@lsp.type.operator"] = { link = "Operator" },
202+
["@lsp.type.parameter"] = { fg = colors.orange, italic = config.italics },
203+
["@lsp.type.property"] = { link = "Identifier" },
204+
["@lsp.type.string"] = { link = "String" },
205+
["@lsp.type.struct"] = { link = "Type" },
206+
["@lsp.type.typeParameter"] = { link = "Type" },
207207
["@lsp.type.xmlDocCommentName"] = { fg = colors.pink },
208208
["@lsp.type.xmlDocCommentAttributeQuotes"] = { fg = colors.yellow },
209209
["@lsp.type.xmlDocCommentAttributeName"] = { fg = colors.green },

0 commit comments

Comments
 (0)