mirror of
https://github.com/neovim/neovim.git
synced 2024-12-21 03:35:02 -07:00
e5165bae11
Refactor input.c, normal.c and edit.c to use the K_EVENT special key to trigger the CURSORHOLD event. In normal and edit mode, K_EVENT is treated as K_CURSORHOLD, which enables better handling of arbitrary actions in those states(eg: In normal mode the previous operator counts will be restored). Also fix a test in vim_spec.lua. The test had a wrong assumption: cmdheight is only used to determine when the press enter screen will be shown, not to limit how many lines or control pagination. |
||
---|---|---|
.. | ||
buffer_spec.lua | ||
menu_spec.lua | ||
server_notifications_spec.lua | ||
server_requests_spec.lua | ||
tabpage_spec.lua | ||
vim_spec.lua | ||
window_spec.lua |