mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 22:38:16 +00:00

Problem: `o`-ing on a folded line opens the fold, because the new line gets the fold level from the above line (level '='), which extends the fold to the new line. `O` has a similar problem when run on the line below a fold. Solution: Use -1 for the added line to get the lower level from the above/below line.