From f8d660027b7b021cd391079a0922e76bd3c792a0 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Mon, 10 Dec 2018 20:10:05 +0300 Subject: [PATCH] rc git: Support the `break` instruction --- 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 1e5b4297..129c15a7 100644 --- a/rc/base/git.kak +++ b/rc/base/git.kak @@ -23,7 +23,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|drop|label|reset|merge|[persfxdltm]) (\w+)" 1:green 2:magenta + add-highlighter window/git-rebase-highlight/ regex "^(pick|edit|reword|squash|fixup|exec|break|drop|label|reset|merge|[persfxbdltm]) (\w+)" 1:green 2:magenta } hook -group git-rebase-highlight global WinSetOption filetype=(?!git-rebase).* %{ remove-highlighter window/git-rebase-highlight }