mirror of
https://github.com/neovim/neovim.git
synced 2026-02-10 14:31:52 +10:00
Problem: a closing fold expression may unexpectedly start a new fold
when it should end a fold
(reported by Shota Nozaki)
Solution: if a fold hasn't started yet, do not immediately
start a new fold with level 1
(Shota Nozaki)
fixes: vim/vim#12768
closes: vim/vim#13748
0689b87059
Co-authored-by: Shota Nozaki <emonkak@gmail.com>
40 KiB
40 KiB