git-tools.kak: tweak git-status highlighting

This commit is contained in:
Maxime Coste 2015-03-30 23:06:46 +01:00
parent 6e1a388544
commit 166682d802

View File

@ -12,7 +12,7 @@ hook global WinSetOption filetype=(?!git-log).* %{
hook global WinSetOption filetype=git-status %{ hook global WinSetOption filetype=git-status %{
addhl group git-status-highlight 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).* %{ hook global WinSetOption filetype=(?!git-status).* %{