From 1bc333a02897a5c34827ae0dbafbe2a48f0e990c Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 24 Aug 2015 20:10:07 +0100 Subject: [PATCH] Highlight diffs in git-log highlighter, to handle the -p switch --- rc/git-tools.kak | 1 + 1 file changed, 1 insertion(+) diff --git a/rc/git-tools.kak b/rc/git-tools.kak index 7a87ca29..02f85ab2 100644 --- a/rc/git-tools.kak +++ b/rc/git-tools.kak @@ -4,6 +4,7 @@ hook global WinSetOption filetype=git-log %{ addhl group git-log-highlight addhl -group git-log-highlight regex '^(commit) ([0-9a-f]+)$' 1:yellow 2:red addhl -group git-log-highlight regex '^([a-zA-Z_-]+:) (.*?)$' 1:green 2:magenta + addhl -group git-log-highlight ref diff # highlight potential diffs from the -p option } hook global WinSetOption filetype=(?!git-log).* %{