diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-07-01 08:16:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-01 08:16:34 +0800 |
commit | 628f6cce80dea9ef15e23a3ded77dc3f0c912b51 (patch) | |
tree | 0156945d78475ea994ee85a34ae07bc1958e3ba8 /src/nvim/main.c | |
parent | 2493815290c4cb5b1fb97b6d010c10bdf2d47a58 (diff) | |
download | rneovim-628f6cce80dea9ef15e23a3ded77dc3f0c912b51.tar.gz rneovim-628f6cce80dea9ef15e23a3ded77dc3f0c912b51.tar.bz2 rneovim-628f6cce80dea9ef15e23a3ded77dc3f0c912b51.zip |
fix(startup): don't truncate when printing with -l (#24216)
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 9b364f8c35..481172e040 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -629,6 +629,8 @@ int main(int argc, char **argv) } if (params.luaf != NULL) { + // Like "--cmd", "+", "-c" and "-S", don't truncate messages. + msg_scroll = true; bool lua_ok = nlua_exec_file(params.luaf); TIME_MSG("executing Lua -l script"); getout(lua_ok ? 0 : 1); |