feat: prioritise semantic variable highlighting (#240)

This commit is contained in:
not 2024-02-11 20:11:47 -06:00 committed by GitHub
commit e28cda232b

View file

@ -412,7 +412,7 @@ local function set_highlights()
["@lsp.type.namespace"] = { link = "@namespace" },
["@lsp.type.parameter"] = { link = "@parameter" },
["@lsp.type.property"] = { link = "@property" },
["@lsp.type.variable"] = {}, -- use treesitter styles for regular variables
["@lsp.type.variable"] = { link = "@variable" },
["@lsp.typemod.function.defaultLibrary"] = { link = "@function.builtin" },
["@lsp.typemod.operator.injected"] = { link = "@operator" },
["@lsp.typemod.string.injected"] = { link = "@string" },