mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
vim-patch:8.2.0841: 'verbose' value 16 causes duplicate output
Problem: 'verbose' value 16 causes duplicate output.
Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
closes vim/vim#6153)
823654bc06
This commit is contained in:
@@ -588,7 +588,7 @@ int do_cmdline(char_u *cmdline, LineGetter fgetline,
|
||||
}
|
||||
}
|
||||
|
||||
if (p_verbose >= 15 && sourcing_name != NULL) {
|
||||
if ((p_verbose >= 15 && sourcing_name != NULL) || p_verbose >= 16) {
|
||||
msg_verbose_cmd(sourcing_lnum, cmdline_copy);
|
||||
}
|
||||
|
||||
@@ -1281,10 +1281,6 @@ static char_u * do_one_cmd(char_u **cmdlinep,
|
||||
goto doend;
|
||||
}
|
||||
|
||||
if (p_verbose >= 16) {
|
||||
msg_verbose_cmd(0, *cmdlinep);
|
||||
}
|
||||
|
||||
// 1. Skip comment lines and leading white space and colons.
|
||||
// 2. Handle command modifiers.
|
||||
|
||||
|
Reference in New Issue
Block a user