Skip to content

[Vimode] Do not remove empty lines when reformatting

Jan Paul Batrina requested to merge work/vimode-reformat-fix into master

In vimode, "gqap" also selects empty lines. As an implementation detail, we used joinLines() which happily gobbles up empty lines.

BUG: 340550

This MR also makes reformatting in vimode a single undoable action.

Merge request reports

Loading