summaryrefslogtreecommitdiff
path: root/src/scriptfile.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-03 17:01:24 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-03 17:01:24 +0200
commit647a530b33d9d767f591159c24c62de48e57dad7 (patch)
treef420d93eb68cc0af4c03f08fab431477e0e8da0e /src/scriptfile.c
parent41d4299f26cc98e253f9c63f8adc9dbb9d49ed5c (diff)
downloadvim-git-647a530b33d9d767f591159c24c62de48e57dad7.tar.gz
patch 8.2.0688: output clobbered if setting 'verbose' to see shell commandsv8.2.0688
Problem: Output clobbered if setting 'verbose' to see shell commands. Solution: Only output "Searching for" when 'verbose' is 11 or higher.
Diffstat (limited to 'src/scriptfile.c')
-rw-r--r--src/scriptfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c
index 0756116b1..155ab14bb 100644
--- a/src/scriptfile.c
+++ b/src/scriptfile.c
@@ -228,7 +228,7 @@ do_in_path(
buf = alloc(MAXPATHL);
if (buf != NULL && rtp_copy != NULL)
{
- if (p_verbose > 1 && name != NULL)
+ if (p_verbose > 10 && name != NULL)
{
verbose_enter();
smsg(_("Searching for \"%s\" in \"%s\""),
@@ -276,7 +276,7 @@ do_in_path(
copy_option_part(&np, tail, (int)(MAXPATHL - (tail - buf)),
"\t ");
- if (p_verbose > 2)
+ if (p_verbose > 10)
{
verbose_enter();
smsg(_("Searching for \"%s\""), buf);