fix(python): import semantic_tokens from basedpyright (#257)

* fix(python): import semantic_tokens from basedpyright

* fix: restores svelte string highlights
This commit is contained in:
Adam K 2024-04-09 12:56:29 -05:00 committed by GitHub
commit e4c22a9163

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.type.variable.svelte"] = { link = "@variable" },
["@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" },
["@lsp.type.namespace.python"] = { link = "@variable" },
--- Plugins
-- romgrk/barbar.nvim