neovim/test/functional/editor
Axel Forsman d4d27c41b3
fix(edit.c): indentkeys double indent after "!" #12894
which is both unexpected and different from the Vim behaviour.

Indent was triggered once by the '!' check in insert_execute(), and
inserting the char was correctly skipped, but then triggered again in
insert_check() (provided that cindent was not being ignored after manual
indentation, i.e. `can_cindent == true`).

While this is the smallest fix, another solution would be to remove
VimState#check and instead move that to *_enter()/-_execute(), since the
control flow is pretty unnecessarily convoluted as is. That would also
have the benefit of differing less from the Vim source code.
2022-08-21 21:48:18 -07:00
..
completion_spec.lua fix(completion): remove wrong FUNC_ATTR_NONNULL_ALL (#19627) 2022-08-03 21:50:14 +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 test: reorg #15698 2021-09-17 09:16:40 -07: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): retain terminal buffer after K (#17046) 2022-01-12 22:04:30 -07: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): give correct error message when mark is in another buffer (#19454) 2022-07-21 17:42:17 +08: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 fix(edit.c): indentkeys double indent after "!" #12894 2022-08-21 21:48:18 -07:00
put_spec.lua perf(ui): eliminate spurious memory allocations for hl_attr_define event 2022-07-18 14:08:44 +02:00
search_spec.lua test: reorg #15698 2021-09-17 09:16:40 -07:00
tabpage_spec.lua fix(ui): set redraw_cmdline when setting window height (#19630) 2022-08-03 19:25:03 +08:00
undo_spec.lua feat: add undo! 2022-04-20 00:10:02 +06:00