From e4c22a91633f2280f166306c2e14cee087a65914 Mon Sep 17 00:00:00 2001 From: Adam K <105152139+akthe-at@users.noreply.github.com> Date: Tue, 9 Apr 2024 12:56:29 -0500 Subject: [PATCH] fix(python): import semantic_tokens from basedpyright (#257) * fix(python): import semantic_tokens from basedpyright * fix: restores svelte string highlights --- lua/rose-pine.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/rose-pine.lua b/lua/rose-pine.lua index 184ef6f..ce67514 100644 --- a/lua/rose-pine.lua +++ b/lua/rose-pine.lua @@ -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