Fix command name in protobuf newline hook

This commit is contained in:
Eric Dilmore 2024-01-16 14:58:31 -06:00
parent ea930664ad
commit 8ff2860851

View File

@ -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 %[ evaluate-commands -draft -itersel %[
# copy // comments prefix # copy // comments prefix
try %{ execute-keys -draft <semicolon><c-s>kx s ^\h*\K/{2,}(\h*(?=\S))? <ret> y<c-o>P<esc> } try %{ execute-keys -draft <semicolon><c-s>kx s ^\h*\K/{2,}(\h*(?=\S))? <ret> y<c-o>P<esc> }