From 86195c7eea24f54071088c82a0f958231dace0ff Mon Sep 17 00:00:00 2001 From: Charlie Moog Date: Sun, 10 Mar 2024 21:10:18 -0500 Subject: [PATCH] override nix treesitter highlight groups --- lua/github-theme/group/modules/treesitter.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/github-theme/group/modules/treesitter.lua b/lua/github-theme/group/modules/treesitter.lua index 75e11be0..462ca89f 100644 --- a/lua/github-theme/group/modules/treesitter.lua +++ b/lua/github-theme/group/modules/treesitter.lua @@ -223,6 +223,11 @@ If you want to stay on nvim 0.7, disable the module, or track on 'v0.0.x' branch ['@punctuation.delimiter.markdown_inline'] = { fg = spec.fg1 }, ['@text.quote.markdown'] = { fg = syn.tag }, + -- Nix + ['@variable.member.nix'] = { link = '@field' }, + ['@variable.parameter.nix'] = { link = '@parameter' }, + ['@string.special.path.nix'] = { link = '@string' }, + -- PHP -- ['@type.php'] = { link = '@function' }, ['@namespace.php'] = { link = '@constructor.php' },