From 4374588df4e99d403a359cda2ddececcf645d8a9 Mon Sep 17 00:00:00 2001 From: Vollow Date: Thu, 25 Jul 2024 19:36:09 +0800 Subject: [PATCH] fix(treesitter): highlight paths in `.gitignore` as text (#736) * fix(treesitter): highlight wildcards in .gitignore differently * fix(treesitter): color paths in `.gitignore` as mauve * fix(treesitter): color paths in `.gitignore` as text --- lua/catppuccin/groups/integrations/treesitter.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/catppuccin/groups/integrations/treesitter.lua b/lua/catppuccin/groups/integrations/treesitter.lua index cd4981ec..211a3a71 100644 --- a/lua/catppuccin/groups/integrations/treesitter.lua +++ b/lua/catppuccin/groups/integrations/treesitter.lua @@ -195,6 +195,9 @@ If you want to stay on nvim 0.7, either disable the integration or pin catppucci -- gitcommit ["@comment.warning.gitcommit"] = { fg = C.yellow }, + -- gitignore + ["@string.special.path.gitignore"] = { fg = C.text }, + -- Misc gitcommitSummary = { fg = C.rosewater, style = O.styles.miscs or { "italic" } }, zshKSHFunction = { link = "Function" },