mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
58f9486144
Previously, when using foldmethod=indent, inserting an unindented line would inadvertently open closed folds below it. As a performance improvement, folds were only updated once, across all lines, after Insert mode was exited. Now, the performance improvement is no longer being used when foldmethod=indent, so folds are updated multiple times during Insert mode, but only across the lines that are changing, which preserves the folds (and their open/close states) instead of recreating them. |
||
---|---|---|
.. | ||
completion_spec.lua | ||
count_spec.lua | ||
ctrl_c_spec.lua | ||
fold_spec.lua | ||
jump_spec.lua | ||
K_spec.lua | ||
lang_spec.lua | ||
langmap_spec.lua | ||
macro_spec.lua | ||
mark_spec.lua | ||
meta_key_spec.lua | ||
mode_cmdline_spec.lua | ||
mode_insert_spec.lua | ||
put_spec.lua | ||
search_spec.lua | ||
tabpage_spec.lua | ||
undo_spec.lua |