feat(semantic_tokens): highlight lsp.typemod.macro.defaultLibrary as @function.builtin (#358)
This commit is contained in:
@@ -267,11 +267,12 @@ function M.setup()
|
||||
["@lsp.type.parameter"] = { link = "@parameter" },
|
||||
["@lsp.type.property"] = { link = "@property" },
|
||||
["@lsp.type.variable"] = {}, -- use treesitter styles for regular variables
|
||||
["@lsp.typemod.method.defaultLibrary"] = { link = "@function.builtin" },
|
||||
["@lsp.typemod.type.defaultLibrary"] = { fg = util.darken(c.blue1, 0.8) },
|
||||
["@lsp.typemod.function.defaultLibrary"] = { link = "@function.builtin" },
|
||||
["@lsp.typemod.macro.defaultLibrary"] = { link = "@function.builtin" },
|
||||
["@lsp.typemod.method.defaultLibrary"] = { link = "@function.builtin" },
|
||||
["@lsp.typemod.operator.injected"] = { link = "@operator" },
|
||||
["@lsp.typemod.string.injected"] = { link = "@string" },
|
||||
["@lsp.typemod.type.defaultLibrary"] = { fg = util.darken(c.blue1, 0.8) },
|
||||
["@lsp.typemod.variable.defaultLibrary"] = { link = "@variable.builtin" },
|
||||
["@lsp.typemod.variable.injected"] = { link = "@variable" },
|
||||
-- NOTE: maybe add these with distinct highlights?
|
||||
|
||||
Reference in New Issue
Block a user