Files
neovim/test
glepnir ff0352fd4f vim-patch:9.2.0639: gq with 'formatprg' fails on an empty buffer (#40226)
Problem:  gq (and other filters) on an empty buffer fail with
          "E20: Mark not set": when the filter produces no output,
          do_filter() still subtracts the line count from '[ and '],
          pushing '] to line 0.
Solution: when the filter produces no output, put '[ and '] on a valid
          line instead of subtracting past line 1 (glepnir).

related: neovim/neovim#30593
closes:  vim/vim#19061

aefbca2977
2026-06-14 08:45:16 +08:00
..
2026-05-13 13:14:07 +01:00
2026-04-22 18:25:07 -04:00