aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-07-04 07:19:02 +0800
committerGitHub <noreply@github.com>2023-07-04 07:19:02 +0800
commit92760a7f42a95bb252966c2a38423e5bc9d57cc7 (patch)
tree6dbcee0ac50a90b638f0615aeec6dccfd003ef12 /src/nvim/lua/executor.c
parent35c3275b4896a65d67caf2a4355d7516b6ddec29 (diff)
downloadrneovim-92760a7f42a95bb252966c2a38423e5bc9d57cc7.tar.gz
rneovim-92760a7f42a95bb252966c2a38423e5bc9d57cc7.tar.bz2
rneovim-92760a7f42a95bb252966c2a38423e5bc9d57cc7.zip
fix(api, lua): make blank lines in a message work properly (#24244)
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r--src/nvim/lua/executor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c
index ed84e2a601..ec069131e5 100644
--- a/src/nvim/lua/executor.c
+++ b/src/nvim/lua/executor.c
@@ -954,6 +954,7 @@ static void nlua_print_event(void **argv)
break;
}
msg(str + start);
+ msg_didout = true; // Make blank lines work properly
}
if (len && str[len - 1] == NUL) { // Last was newline
msg("");