aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-12-15 19:10:25 -0500
committerGitHub <noreply@github.com>2017-12-15 19:10:25 -0500
commit7afd26a6d189d1ca798f93db8661bd656a37265f (patch)
tree1c2aa0dbd479f322fa6d8221b9f141fc6e2d3a44 /src/nvim/edit.c
parent6ff13d78b7eb0a1fae2e2e8cdd054072e1467158 (diff)
parentdcb2780b834d4df006f55a0475e03bd2a38ac344 (diff)
downloadrneovim-7afd26a6d189d1ca798f93db8661bd656a37265f.tar.gz
rneovim-7afd26a6d189d1ca798f93db8661bd656a37265f.tar.bz2
rneovim-7afd26a6d189d1ca798f93db8661bd656a37265f.zip
Merge pull request #7306 from DarkDeepBlue/vim-8.0.0074
vim-patch:8.0.0074
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r--src/nvim/edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index 859f98d2ad..4f0a3eaf34 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -1927,7 +1927,7 @@ bool vim_is_ctrl_x_key(int c)
case CTRL_X_EVAL:
return (c == Ctrl_P || c == Ctrl_N);
}
- EMSG(_(e_internal));
+ internal_error("vim_is_ctrl_x_key()");
return false;
}
@@ -4681,7 +4681,7 @@ static int ins_complete(int c, bool enable_pum)
line = ml_get(curwin->w_cursor.lnum);
compl_pattern = vim_strnsave(line + compl_col, compl_length);
} else {
- EMSG2(_(e_intern2), "ins_complete()");
+ internal_error("ins_complete()");
return FAIL;
}