neovim/test/functional/editor
Brandon Simmons 58f9486144
fix(folds): update folds in Insert mode with fdm=indent (#24402)
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-21 08:56:08 +08:00
..
completion_spec.lua refactor(options): deprecate nvim[_buf|_win]_[gs]et_option 2023-05-21 15:14:01 +06: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 (#24402) 2023-07-21 08:56:08 +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 refactor(options): deprecate nvim[_buf|_win]_[gs]et_option 2023-05-21 15:14:01 +06: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(api): nvim_parse_cmd error message in pcall() #23297 2023-07-01 06:33:51 -07: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 refactor(options): deprecate nvim[_buf|_win]_[gs]et_option 2023-05-21 15:14:01 +06:00
mode_insert_spec.lua vim-patch:8.2.3135: Vim9: builtin function arguments not checked at compile time 2023-05-05 09:19:05 +08:00
put_spec.lua test: fix dependencies between test cases (#23343) 2023-04-27 15:51:44 +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