From 166682d80231118f85ec07af23118c14b7e22a22 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 30 Mar 2015 23:06:46 +0100 Subject: [PATCH] git-tools.kak: tweak git-status highlighting --- rc/git-tools.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/git-tools.kak b/rc/git-tools.kak index ecb09683..1a12ad28 100644 --- a/rc/git-tools.kak +++ b/rc/git-tools.kak @@ -12,7 +12,7 @@ hook global WinSetOption filetype=(?!git-log).* %{ hook global WinSetOption filetype=git-status %{ addhl group git-status-highlight - addhl -group git-status-highlight regex '^\h+(?:(modified:)|(added:|new file:)|(deleted:)|(renamed:)|(copied:))(?:.*?)$' 1:yellow 2:green 3:red 4:cyan 5:blue 6:magenta + addhl -group git-status-highlight regex '^\h+(?:((?:both )?modified:)|(added:|new file:)|(deleted(?: by \w+)?:)|(renamed:)|(copied:))(?:.*?)$' 1:yellow 2:green 3:red 4:cyan 5:blue 6:magenta } hook global WinSetOption filetype=(?!git-status).* %{