diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-06-30 02:33:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-30 02:33:50 +0200 |
commit | 0480e991d2180025ef040629c5dcd0a193055a2e (patch) | |
tree | a698b176c92c91615ea8a9c14f61fd6953ed153c /src | |
parent | 72ae0a6e5eaad939d2f7fe6d2e8a8bcbf00a2ec6 (diff) | |
download | rneovim-0480e991d2180025ef040629c5dcd0a193055a2e.tar.gz rneovim-0480e991d2180025ef040629c5dcd0a193055a2e.tar.bz2 rneovim-0480e991d2180025ef040629c5dcd0a193055a2e.zip |
:digraphs : check for CTRL-C less often #10376
No need to do this so frequently.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/digraph.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/digraph.c b/src/nvim/digraph.c index 3329290634..a1cbe030f5 100644 --- a/src/nvim/digraph.c +++ b/src/nvim/digraph.c @@ -18,6 +18,7 @@ #include "nvim/ex_docmd.h" #include "nvim/ex_getln.h" #include "nvim/getchar.h" +#include "nvim/misc1.h" #include "nvim/mbyte.h" #include "nvim/message.h" #include "nvim/memory.h" @@ -1663,13 +1664,13 @@ void listdigraphs(void) printdigraph(&tmp); } dp++; - os_breakcheck(); + fast_breakcheck(); } dp = (digr_T *)user_digraphs.ga_data; for (int i = 0; i < user_digraphs.ga_len && !got_int; ++i) { printdigraph(dp); - os_breakcheck(); + fast_breakcheck(); dp++; } } |