mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
main: Extract normal_check
from main_loop
The new function contains logic that must be executed after handling input in normal mode and also before the first main loop iteration. Also rename `main_loop` to `normal_enter` and move it to normal.c
This commit is contained in:
@@ -6544,7 +6544,7 @@ do_exedit (
|
||||
msg_scroll = 0;
|
||||
must_redraw = CLEAR;
|
||||
|
||||
main_loop(FALSE, TRUE);
|
||||
normal_enter(false, true);
|
||||
|
||||
RedrawingDisabled = rd;
|
||||
no_wait_return = nwr;
|
||||
|
Reference in New Issue
Block a user