summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-03-03 07:55:12 +1100
committerMaxime Coste <mawww@kakoune.org>2020-03-03 07:55:12 +1100
commitf682d8c01f9121c608c4837a1a57e2461bfc61ec (patch)
treec5a814a7d5277f22af1810db59132c908bdce67a
parent7a9292be58ec84ba6d9f121b64fafb1eb9ea00d1 (diff)
parent13d042cf8f7fc004729a6dc2408cd9b427a07059 (diff)
Merge remote-tracking branch 'chambln/git'
-rw-r--r--rc/tools/git.kak6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc/tools/git.kak b/rc/tools/git.kak
index c14e3e06..9ddcfce8 100644
--- a/rc/tools/git.kak
+++ b/rc/tools/git.kak
@@ -3,9 +3,9 @@ declare-option -docstring "name of the client in which documentation is to be di
hook -group git-log-highlight global WinSetOption filetype=git-log %{
add-highlighter window/git-log group
- add-highlighter window/git-log/ regex '^([\*|\\ /_])*' 0:keyword
- add-highlighter window/git-log/ regex '^( ?[\*|\\/_])*\h{,3}(commit )?(\b[0-9a-f]{4,40}\b)' 2:keyword 3:comment
- add-highlighter window/git-log/ regex '^( ?[\*|\\/_])*\h{,3}([a-zA-Z_-]+:) (.*?)$' 2:variable 3:value
+ add-highlighter window/git-log/ regex '^([*|\\ /_.-])*' 0:keyword
+ add-highlighter window/git-log/ regex '^( ?[*|\\ /_.-])*\h{,3}(commit )?(\b[0-9a-f]{4,40}\b)' 2:keyword 3:comment
+ add-highlighter window/git-log/ regex '^( ?[*|\\ /_.-])*\h{,3}([a-zA-Z_-]+:) (.*?)$' 2:variable 3:value
add-highlighter window/git-log/ ref diff # highlight potential diffs from the -p option
hook -once -always window WinSetOption filetype=.* %{ remove-highlighter window/git-log }