From 8ff28608516680b6f66f5487041770f1be813862 Mon Sep 17 00:00:00 2001 From: Eric Dilmore Date: Tue, 16 Jan 2024 14:58:31 -0600 Subject: [PATCH] Fix command name in protobuf newline hook --- rc/filetype/protobuf.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/protobuf.kak b/rc/filetype/protobuf.kak index b5781088..b85295e1 100644 --- a/rc/filetype/protobuf.kak +++ b/rc/filetype/protobuf.kak @@ -76,7 +76,7 @@ define-command -hidden protobuf-trim-indent %{ } } -define-command -hidden protobuf-insert-on-new-line %{ +define-command -hidden protobuf-insert-on-newline %{ evaluate-commands -draft -itersel %[ # copy // comments prefix try %{ execute-keys -draft kx s ^\h*\K/{2,}(\h*(?=\S))? yP }