summaryrefslogtreecommitdiff
path: root/rc/tools
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2024-02-03 00:26:52 +0100
committerMaxime Coste <mawww@kakoune.org>2024-02-05 21:42:02 +1100
commit7a5bf7f6491ecc54ff4c0aec66026328fa64dc6d (patch)
treecbd3f271b11e79d877125588bf662ac9680f446c /rc/tools
parentda1adc9b94da04f63e8820a6e86ba059d13a23df (diff)
rc tools git: remove unused dependency on diff from status/show-branch
Diffstat (limited to 'rc/tools')
-rw-r--r--rc/tools/git.kak2
1 files changed, 0 insertions, 2 deletions
diff --git a/rc/tools/git.kak b/rc/tools/git.kak
index 4fe2e04c..2b8575f7 100644
--- a/rc/tools/git.kak
+++ b/rc/tools/git.kak
@@ -25,7 +25,6 @@ hook -group git-log-highlight global WinSetOption filetype=git-log %{
}
hook -group git-status-highlight global WinSetOption filetype=git-status %{
- require-module diff
add-highlighter window/git-status group
add-highlighter window/git-status/ regex '^## ' 0:comment
add-highlighter window/git-status/ regex '^## (\S*[^\s\.@])' 1:green
@@ -42,7 +41,6 @@ hook -group git-status-highlight global WinSetOption filetype=git-status %{
}
hook -group git-show-branch-highlight global WinSetOption filetype=git-show-branch %{
- require-module diff
add-highlighter window/git-show-branch group
add-highlighter window/git-show-branch/ regex '(\*)|(\+)|(!)' 1:red 2:green 3:green
add-highlighter window/git-show-branch/ regex '(!\D+\{0\}\])|(!\D+\{1\}\])|(!\D+\{2\}\])|(!\D+\{3\}\])' 1:red 2:green 3:yellow 4:blue