From 104a40463af1d4e5e74f38379251f29ec73500c2 Mon Sep 17 00:00:00 2001 From: RaphaĆ«l Colin Date: Sat, 30 Mar 2019 12:40:41 +0100 Subject: vim-patch:8.0.0629: set `starting` earlier The patch is N/A but we include it for consistency. closes #9814 --- Problem: Checking for ambigous width is not working. (Hirohito Higashi) Solution: Reset "starting" earlier. https://github.com/vim/vim/commit/6b1da3312e15c065b373c9ec2732f31a77cee61f --- src/nvim/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/main.c b/src/nvim/main.c index 5dffca95a2..aa7f93c15e 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -547,10 +547,11 @@ int main(int argc, char **argv) if (params.n_commands > 0) exe_commands(¶ms); + starting = 0; + RedrawingDisabled = 0; redraw_all_later(NOT_VALID); no_wait_return = FALSE; - starting = 0; // 'autochdir' has been postponed. do_autochdir(); -- cgit