From 9d7474f80afe2f0cfcb4fabfc5451f509d844b85 Mon Sep 17 00:00:00 2001 From: Maxim Kozhukh <89997671+nicejji@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:57:21 +0300 Subject: [PATCH] feat: use treesitter highlights for @lsp.type.variable (#233) --- lua/rose-pine.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/rose-pine.lua b/lua/rose-pine.lua index a965c28..bd21454 100644 --- a/lua/rose-pine.lua +++ b/lua/rose-pine.lua @@ -409,7 +409,7 @@ 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"] = {}, -- use treesitter styles for regular variables ["@lsp.typemod.function.defaultLibrary"] = { link = "@function.builtin" }, ["@lsp.typemod.operator.injected"] = { link = "@operator" }, ["@lsp.typemod.string.injected"] = { link = "@string" },