diff --git a/rc/filetype/protobuf.kak b/rc/filetype/protobuf.kak index b57810885..b85295e19 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 }