aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2026-06-14 08:45:16 +0800
committerGitHub <noreply@github.com>2026-06-14 08:45:16 +0800
commitff0352fd4fad97ef356fa491b968aebb0c524418 (patch)
treed25a8808c1c5b43b7555910deb15754fac181209 /test/functional/vimscript
parent37239e724e9362c11fcd6c4e0af73bf74ff1c295 (diff)
downloadrneovim-ff0352fd4fad97ef356fa491b968aebb0c524418.tar.gz
rneovim-ff0352fd4fad97ef356fa491b968aebb0c524418.tar.bz2
rneovim-ff0352fd4fad97ef356fa491b968aebb0c524418.zip
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 https://github.com/vim/vim/commit/aefbca2977653a96f11061da80d6b72587497fb7
Diffstat (limited to 'test/functional/vimscript')
0 files changed, 0 insertions, 0 deletions