diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index 9b4a4d2..952c39f 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -260,8 +260,9 @@ function M.setup() ["@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 = "Special" }, + ["@lsp.typemod.variable.defaultLibrary"] = { link = "@variable.builtin" }, -- NOTE: maybe add these with distinct highlights? -- ["@lsp.typemod.variable.globalScope"] (global variables)