neovim/src
Jaehwang Jung 040369e1e4 fix(treesitter): don't forcefully open folds
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.
2023-12-06 11:00:05 +00:00
..
cjson fix(vim.json)!: remove global options, "null", "array_mt" #24070 2023-06-21 01:10:32 -07:00
klib refactor: remove kbtree.h 2023-12-01 20:46:07 +01:00
man docs: list NVIM_APPNAME as env on manpage (#25935) 2023-11-09 07:04:44 +08:00
mpack refactor: fix headers with IWYU 2023-11-28 22:23:56 +01:00
nvim fix(treesitter): don't forcefully open folds 2023-12-06 11:00:05 +00:00
termkey fix(termkey): include IO header on Windows 2023-11-30 12:22:53 -06:00
unicode
xdiff refactor: the long goodbye 2023-11-05 20:19:06 +01:00
.valgrind.supp
bit.c
bit.h
clint.py refactor(IWYU): move marktree types to marktree_defs.h (#26402) 2023-12-05 20:05:12 +08:00
coverity-model.c
nlua0.c
uncrustify.cfg refactor: enable formatting for ternaries 2023-11-20 19:57:09 +01:00