mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
040369e1e4
Problem: When `vim._foldupdate()` is invoked inside a scheduled callback, the cursor may have moved to a line with a closed fold, e.g., after `dd` on the line that is one line above a folded region. Then it opens the fold, which is unnecessary and distracting. Legacy foldexprs do not have this issue. Solution: Don't explicitly open folds on cursor. Note: This doesn't completely prevent spurious opening of folds. That is due to bugs in treesitter foldexpr algorithm, which should be addressed separately. |
||
---|---|---|
.. | ||
cjson | ||
klib | ||
man | ||
mpack | ||
nvim | ||
termkey | ||
unicode | ||
xdiff | ||
.valgrind.supp | ||
bit.c | ||
bit.h | ||
clint.py | ||
coverity-model.c | ||
nlua0.c | ||
uncrustify.cfg |