Merge remote-tracking branch 'geppettodivacin/protobuf-newline-fix'
This commit is contained in:
commit
455cd73a93
|
@ -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> }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user