mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 16:36:30 +00:00
refactor: remove unnecessary allocation for "run Nvim with -V1" (#32633)
This commit is contained in:
@@ -8038,6 +8038,8 @@ void last_set_msg(sctx_T script_ctx)
|
||||
if (script_ctx.sc_lnum > 0) {
|
||||
msg_puts(_(line_msg));
|
||||
msg_outnum(script_ctx.sc_lnum);
|
||||
} else if (script_is_lua(script_ctx.sc_sid)) {
|
||||
msg_puts(_(" (run Nvim with -V1 for more details)"));
|
||||
}
|
||||
if (should_free) {
|
||||
xfree(p);
|
||||
|
Reference in New Issue
Block a user