From d89db64829c9987c5ac1a59c5c70f512e8ec5346 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Sun, 17 Jul 2022 20:16:35 +0100 Subject: [PATCH] syntax/git-rebase-todo.yaml: support more commands (#2495) For reference, see the list of supported commands in the help text of git's interactive rebase: https://github.com/git/git/blob/v2.37.1/rebase-interactive.c#L43-L59 --- runtime/syntax/git-rebase-todo.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/git-rebase-todo.yaml b/runtime/syntax/git-rebase-todo.yaml index e2dd588a..0d31d13a 100644 --- a/runtime/syntax/git-rebase-todo.yaml +++ b/runtime/syntax/git-rebase-todo.yaml @@ -5,7 +5,7 @@ detect: rules: # Rebase commands - - statement: "^(p(ick)?|r(eword)?|e(dit)?|s(quash)?|f(ixup)?|x|exec|d(rop)?)\\b" + - statement: "^(p(ick)?|r(eword)?|e(dit)?|s(quash)?|f(ixup)?|x|exec|b(reak)?|d(rop)?|l(abel)?|t|reset|m(erge)?)\\b" # Commit IDs - identifier: "\\b([0-9a-f]{7,40})\\b" -- 2.44.0