aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-02-03 16:42:44 +0100
committerGitHub <noreply@github.com>2019-02-03 16:42:44 +0100
commit01b4efe9d939d9eed93c55829d8c35ec22113328 (patch)
tree2725d0267dae469fb1f08636011264e295c57750 /src/nvim/eval.c
parent79a0ea2bec7c4a1c82990c07c87098b87bc2a1da (diff)
downloadrneovim-01b4efe9d939d9eed93c55829d8c35ec22113328.tar.gz
rneovim-01b4efe9d939d9eed93c55829d8c35ec22113328.tar.bz2
rneovim-01b4efe9d939d9eed93c55829d8c35ec22113328.zip
rename ui_is_external to ui_has (#9576)
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 3980516d32..df02a5ba17 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -11265,7 +11265,7 @@ void get_user_input(const typval_T *const argvars,
// Only the part of the message after the last NL is considered as
// prompt for the command line, unlsess cmdline is externalized
const char *p = prompt;
- if (!ui_is_external(kUICmdline)) {
+ if (!ui_has(kUICmdline)) {
const char *lastnl = strrchr(prompt, '\n');
if (lastnl != NULL) {
p = lastnl+1;
@@ -19951,7 +19951,7 @@ void ex_function(exarg_T *eap)
goto errret_2;
}
- if (KeyTyped && ui_is_external(kUICmdline)) {
+ if (KeyTyped && ui_has(kUICmdline)) {
show_block = true;
ui_ext_cmdline_block_append(0, (const char *)eap->cmd);
}
@@ -20007,7 +20007,7 @@ void ex_function(exarg_T *eap)
if (!eap->skip && did_emsg)
goto erret;
- if (!ui_is_external(kUICmdline)) {
+ if (!ui_has(kUICmdline)) {
msg_putchar('\n'); // don't overwrite the function name
}
cmdline_row = msg_row;