Fix command name in protobuf newline hook
This commit is contained in:
parent
ea930664ad
commit
8ff2860851
|
@ -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 <semicolon><c-s>kx s ^\h*\K/{2,}(\h*(?=\S))? <ret> y<c-o>P<esc> }
|
||||
|
|
Loading…
Reference in New Issue
Block a user