diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-10-04 09:36:34 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-10-26 10:52:01 -0300 |
commit | dae006a942213f1c37ecfd20ac79d2f7fc462696 (patch) | |
tree | 7bf10eef49daff7ce89a9f2d4357a8fc5e7692bd /src/nvim/ex_docmd.c | |
parent | e596234fc2fa056ef6ac9eb868bdfcdceba4af47 (diff) | |
download | rneovim-dae006a942213f1c37ecfd20ac79d2f7fc462696.tar.gz rneovim-dae006a942213f1c37ecfd20ac79d2f7fc462696.tar.bz2 rneovim-dae006a942213f1c37ecfd20ac79d2f7fc462696.zip |
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
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index a9262ca6ea..e160281145 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -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; |