From 9aef9ff0e41c43fe9d9dbb3cd5f1ce20e0d18cfa Mon Sep 17 00:00:00 2001 From: Rafael Bodill Date: Fri, 26 Jan 2024 15:18:35 +0200 Subject: [PATCH] fix(treesitter): missing @variable fg key (#415) --- lua/nightfox/group/modules/treesitter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nightfox/group/modules/treesitter.lua b/lua/nightfox/group/modules/treesitter.lua index b204f397..cfc226ab 100644 --- a/lua/nightfox/group/modules/treesitter.lua +++ b/lua/nightfox/group/modules/treesitter.lua @@ -7,7 +7,7 @@ function M.get(spec, config, opts) local hl = { -- Identifiers ------------------------------------------------------------ - ["@variable"] = { syn.variable, style = stl.variables }, -- various variable names + ["@variable"] = { fg = syn.variable, style = stl.variables }, -- various variable names ["@variable.builtin"] = { fg = syn.builtin0, style = stl.variables }, -- built-in variable names (e.g. `this`) ["@variable.parameter"] = { fg = syn.builtin1, stl.variables }, -- parameters of a function ["@variable.member"] = { fg = syn.field }, -- object and struct fields