feat(lsp): set injected highlights (#340)
This commit is contained in:
@@ -264,7 +264,10 @@ function M.setup()
|
||||
["@lsp.type.variable"] = {}, -- use treesitter styles for regular variables
|
||||
["@lsp.typemod.method.defaultLibrary"] = { link = "@function.builtin" },
|
||||
["@lsp.typemod.function.defaultLibrary"] = { link = "@function.builtin" },
|
||||
["@lsp.typemod.operator.injected"] = { link = "@operator" },
|
||||
["@lsp.typemod.string.injected"] = { link = "@string" },
|
||||
["@lsp.typemod.variable.defaultLibrary"] = { link = "@variable.builtin" },
|
||||
["@lsp.typemod.variable.injected"] = { link = "@variable" },
|
||||
-- NOTE: maybe add these with distinct highlights?
|
||||
-- ["@lsp.typemod.variable.globalScope"] (global variables)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user