From 802f51c02a4893f0d4a59f73b05ff7f1c1f7650e Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Thu, 9 Aug 2018 17:14:16 +0300 Subject: [PATCH] rc git: Support new `rebase` commands --- rc/base/git.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/base/git.kak b/rc/base/git.kak index 1d1097a6..3ae831e8 100644 --- a/rc/base/git.kak +++ b/rc/base/git.kak @@ -22,7 +22,7 @@ hook global BufCreate .*git-rebase-todo %{ hook -group git-rebase-highlight global WinSetOption filetype=git-rebase %{ add-highlighter window/git-rebase-highlight group add-highlighter window/git-rebase-highlight/ regex "#[^\n]*\n" 0:cyan,default - add-highlighter window/git-rebase-highlight/ regex "^(pick|edit|reword|squash|fixup|exec|delete|[persfx]) (\w+)" 1:green 2:magenta + add-highlighter window/git-rebase-highlight/ regex "^(pick|edit|reword|squash|fixup|exec|drop|label|reset|merge|[persfxdltm]) (\w+)" 1:green 2:magenta } hook -group git-rebase-highlight global WinSetOption filetype=(?!git-rebase).* %{ remove-highlighter window/git-rebase-highlight }