From 6faed96b68c7532943f6f927ebca74ab20630794 Mon Sep 17 00:00:00 2001 From: Martin Chaine Date: Wed, 7 Sep 2016 13:50:21 +0200 Subject: [PATCH] Highlight diff in git-commit too --- rc/base/git.kak | 1 + 1 file changed, 1 insertion(+) diff --git a/rc/base/git.kak b/rc/base/git.kak index 1f6ea820c..765a2041b 100644 --- a/rc/base/git.kak +++ b/rc/base/git.kak @@ -8,6 +8,7 @@ hook global WinSetOption filetype=git-commit %{ addhl -group git-commit-highlight regex "\`[^\n]*\n\h*(?!#)([^\n]*)\n?" 1:default,red addhl -group git-commit-highlight regex "^\h*#[^\n]*\n" 0:cyan,default addhl -group git-commit-highlight regex "\b(?:(modified)|(deleted)|(new file)|(renamed)):([^\n]*)\n" 1:yellow 2:red 3:green 4:blue 5:magenta + addhl -group git-commit-highlight ref diff # highlight potential diffs from the -v option } hook global WinSetOption filetype=(?!git-commit).* %{