diff options
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r-- | src/nvim/syntax.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 6c5c0f37b1..7d2a9d8624 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -46,6 +46,7 @@ #include "nvim/term.h" #include "nvim/ui.h" #include "nvim/os/os.h" +#include "nvim/os/time.h" /* * Structure that stores information about a highlight group. @@ -7606,7 +7607,7 @@ static void highlight_list_two(int cnt, int attr) msg_puts_attr((char_u *)&("N \bI \b! \b"[cnt / 11]), attr); msg_clr_eos(); out_flush(); - ui_delay(cnt == 99 ? 40L : (long)cnt * 50L, false); + os_delay(cnt == 99 ? 40L : (long)cnt * 50L, false); } |