fix: explicitely set variable fg. Fixes issues when winhl has overriden Normal

This commit is contained in:
Folke Lemaitre 2022-12-06 11:06:41 +01:00
parent 171aface9b
commit 50594ee303
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040

View File

@ -248,7 +248,7 @@ function M.setup()
-- TSSymbol = { }; -- For identifiers referring to symbols or atoms.
-- TSType = { }; -- For types.
-- TSTypeBuiltin = { }; -- For builtin types.
["@variable"] = { style = options.styles.variables }, -- Any variable name that does not have another highlight.
["@variable"] = { fg = c.fg, style = options.styles.variables }, -- Any variable name that does not have another highlight.
["@variable.builtin"] = { fg = c.red }, -- Variable names that are defined by the languages, like `this` or `self`.
-- TSTag = { }; -- Tags like html tag names.