fix(python): import semantic_tokens from basedpyright

This commit is contained in:
Adam K. 2024-03-24 05:02:45 -05:00
commit 573edea3df

View file

@ -412,13 +412,15 @@ local function set_highlights()
["@lsp.type.namespace"] = { link = "@namespace" },
["@lsp.type.parameter"] = { link = "@parameter" },
["@lsp.type.property"] = { link = "@property" },
["@lsp.type.variable"] = { link = "@variable" },
["@lsp.type.variable"] = {}, --defer to treesitter for regular variables
["@lsp.typemod.function.defaultLibrary"] = { link = "@function.builtin" },
["@lsp.typemod.operator.injected"] = { link = "@operator" },
["@lsp.typemod.string.injected"] = { link = "@string" },
["@lsp.typemod.variable.constant"] = { link = "@constant" },
["@lsp.typemod.variable.defaultLibrary"] = { link = "@variable.builtin" },
["@lsp.typemod.variable.injected"] = { link = "@variable" },
-- Python
["@lsp.type.namespace.python"] = { link = "@variable" },
--- Plugins
-- romgrk/barbar.nvim