aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-11-27 14:10:42 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-11-27 14:27:18 -0300
commit1865b8c1c115b639a4a12b5a9cb287a62a82ac76 (patch)
tree2fc64d750f64cc0139651168bd09e25ad15b7947 /src/nvim/syntax.c
parent541eaf598c25e0b853ef441b57c9f7d1bbf3450c (diff)
downloadrneovim-1865b8c1c115b639a4a12b5a9cb287a62a82ac76.tar.gz
rneovim-1865b8c1c115b639a4a12b5a9cb287a62a82ac76.tar.bz2
rneovim-1865b8c1c115b639a4a12b5a9cb287a62a82ac76.zip
ui: Remove ui_delay, ui_breakcheck and ui_set_shellsize
These functions only used to call another os_* function, so remove them and replace all occurences in the project.
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r--src/nvim/syntax.c3
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);
}