neovim/test/functional/editor
Brandon Simmons 46301281f7 fix(folds): update folds in Insert mode with fdm=indent
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.
2023-07-25 22:56:02 +08:00
..
completion_spec.lua fix(completion): correct what modes support fuzzy completion 2023-01-17 15:55:58 +08:00
count_spec.lua test: reorg #15698 2021-09-17 09:16:40 -07:00
ctrl_c_spec.lua test: use poke_eventloop() instead of sleep(10) where possible (#19794) 2022-08-16 15:21:46 +08:00
fold_spec.lua fix(folds): update folds in Insert mode with fdm=indent 2023-07-25 22:56:02 +08:00
jump_spec.lua fix(mark): mark without a view restores at topline #19224 2022-07-04 13:28:14 -07:00
K_spec.lua fix(keywordprg): default to :help if set to empty string (#19983) 2022-08-29 05:58:32 +08:00
lang_spec.lua test: reorg #15698 2021-09-17 09:16:40 -07:00
langmap_spec.lua vim-patch:8.2.0867: using \{xxx} for encoding a modifier is not nice 2022-04-29 15:51:04 +08:00
macro_spec.lua test: correct order of arguments to eq() and neq() 2022-04-26 11:38:58 +08:00
mark_spec.lua fix(mark): properly init mark views 2023-04-10 14:49:49 +00:00
meta_key_spec.lua fix(input): do no reinterpret mouse keys with ALT modifiers 2022-07-25 09:47:28 +08:00
mode_cmdline_spec.lua feat(edit): insert an unsimplified key using CTRL-SHIFT-V 2022-04-29 15:51:03 +08:00
mode_insert_spec.lua vim-patch:9.0.1428: cursor in wrong position when leaving insert mode (#22786) 2023-03-26 09:24:04 +08:00
put_spec.lua test: improve editor/fold_spec.lua and editor/put_spec.lua (#22916) 2023-04-07 09:29:12 +08:00
search_spec.lua test: reorg #15698 2021-09-17 09:16:40 -07:00
tabpage_spec.lua fix: avoid unsigned overflow in home_replace() (#20854) 2022-10-30 06:49:39 +08:00
undo_spec.lua test(undo_spec): add more tests for writing in Insert mode 2022-12-09 07:00:27 +08:00