aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 957f13b1da..d10e021f14 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -885,7 +885,7 @@ int ins_typebuf(char *str, int noremap, int offset, bool nottyped, bool silent)
if (++typebuf.tb_change_cnt == 0) {
typebuf.tb_change_cnt = 1;
}
- state_no_longer_safe();
+ state_no_longer_safe("ins_typebuf()");
addlen = (int)strlen(str);
@@ -1629,7 +1629,7 @@ int vgetc(void)
// Need to process the character before we know it's safe to do something
// else.
if (c != K_IGNORE) {
- state_no_longer_safe();
+ state_no_longer_safe("key typed");
}
return c;