diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-07-02 05:48:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-01 14:48:12 -0700 |
commit | db590e96d59381f873747e888c9afe3c6378678c (patch) | |
tree | ed6197a35bdeda1b3ba8f9806953f4cdd5fef05b /src/nvim/main.c | |
parent | ff8e3c6039d50bdbc5b19ac468b77567cb79d04a (diff) | |
download | rneovim-db590e96d59381f873747e888c9afe3c6378678c.tar.gz rneovim-db590e96d59381f873747e888c9afe3c6378678c.tar.bz2 rneovim-db590e96d59381f873747e888c9afe3c6378678c.zip |
fix(startup)!: "nvim -l" message does not end with newline #24215
Close #24180
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 481172e040..567d364284 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -633,6 +633,10 @@ int main(int argc, char **argv) msg_scroll = true; bool lua_ok = nlua_exec_file(params.luaf); TIME_MSG("executing Lua -l script"); + if (msg_didout) { + msg_putchar('\n'); + msg_didout = false; + } getout(lua_ok ? 0 : 1); } |