mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
fix(python): import semantic_tokens from basedpyright
This commit is contained in:
parent
f48fcd5ccc
commit
573edea3df
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue