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 }