aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-07-02 05:48:12 +0800
committerGitHub <noreply@github.com>2023-07-01 14:48:12 -0700
commitdb590e96d59381f873747e888c9afe3c6378678c (patch)
treeed6197a35bdeda1b3ba8f9806953f4cdd5fef05b /runtime
parentff8e3c6039d50bdbc5b19ac468b77567cb79d04a (diff)
downloadrneovim-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 'runtime')
-rw-r--r--runtime/doc/news.txt3
-rw-r--r--runtime/doc/starting.txt2
2 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index 58c338b225..61ae92296f 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -38,6 +38,9 @@ The following changes may require adaptations in user config or plugins.
• When switching windows, |CursorMoved| autocommands trigger when Nvim is back
in the main loop rather than immediately. This is more compatible with Vim.
+• |-l| ensures output ends with a newline if the script prints messages and
+ doesn't cause Nvim to exit.
+
• |LspRequest| and LspProgressUpdate (renamed to |LspProgress|) autocmds were
promoted from a |User| autocmd to first class citizen.
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index 07b6bd93bd..53a14c586f 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -227,6 +227,8 @@ argument.
Sets 'verbose' to 1 (like "-V1"), so Lua `print()` writes to
output.
+ If {script} prints messages and doesn't cause Nvim to exit,
+ Nvim ensures output ends with a newline.
Arguments before "-l" are processed before executing {script}.
This example quits before executing "foo.lua": >