mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
d4d27c41b3
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. |
||
---|---|---|
.. | ||
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 |