diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-05-03 13:35:10 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-05-03 13:40:25 -0400 |
commit | 88f46501144801736c22db49eb96f88b98903028 (patch) | |
tree | 8a1b5b52b4d2a137073b3ff53cc95b90bbd4b437 /src | |
parent | 5a0744e44692f810fbaa82e066331ced2ae69855 (diff) | |
download | rneovim-88f46501144801736c22db49eb96f88b98903028.tar.gz rneovim-88f46501144801736c22db49eb96f88b98903028.tar.bz2 rneovim-88f46501144801736c22db49eb96f88b98903028.zip |
vim-patch:8.2.0688: output clobbered if setting 'verbose' to see shell commands
Problem: Output clobbered if setting 'verbose' to see shell commands.
Solution: Only output "Searching for" when 'verbose' is 11 or higher.
https://github.com/vim/vim/commit/647a530b33d9d767f591159c24c62de48e57dad7
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/ex_cmds2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index 3694e909d2..fbdd64e43e 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -2394,7 +2394,7 @@ int do_in_path(char_u *path, char_u *name, int flags, char_u *rtp_copy = vim_strsave(path); char_u *buf = xmallocz(MAXPATHL); { - if (p_verbose > 1 && name != NULL) { + if (p_verbose > 10 && name != NULL) { verbose_enter(); smsg(_("Searching for \"%s\" in \"%s\""), (char *)name, (char *)path); @@ -2436,7 +2436,7 @@ int do_in_path(char_u *path, char_u *name, int flags, copy_option_part(&np, tail, (size_t)(MAXPATHL - (tail - buf)), "\t "); - if (p_verbose > 2) { + if (p_verbose > 10) { verbose_enter(); smsg(_("Searching for \"%s\""), buf); verbose_leave(); |