1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-08-17 00:30:26 +03:00

Merge remote-tracking branch 'geppettodivacin/protobuf-newline-fix'

This commit is contained in:
Maxime Coste 2024-01-17 21:00:26 +11:00
commit 455cd73a93

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