zsh-workers
 help / color / mirror / code / Atom feed
From: Marlon Richert <marlon.richert@gmail.com>
To: zsh-workers@zsh.org
Subject: [PATCH] Use zstyle verbose for _parameters descriptions
Date: Thu, 18 May 2023 23:53:28 +0300	[thread overview]
Message-ID: <20230518205329.39746-2-marlon.richert@gmail.com> (raw)
In-Reply-To: <20230518205329.39746-1-marlon.richert@gmail.com>

According to the manual, extra-verbose means "more verbose at the cost
of a probable decrease in completion speed". That's not the case here.
---
 Completion/Zsh/Type/_parameters | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Completion/Zsh/Type/_parameters b/Completion/Zsh/Type/_parameters
index b5da45c58..7f6f33e0e 100644
--- a/Completion/Zsh/Type/_parameters
+++ b/Completion/Zsh/Type/_parameters
@@ -21,7 +21,7 @@ zstyle -t ":completion:${curcontext}:parameters" prefix-needed &&
 _description parameters expl parameter
 zparseopts -D -K -E g:=pattern

-if zstyle -t ":completion:${curcontext}:parameters" extra-verbose; then
+if zstyle -t ":completion:${curcontext}:parameters" verbose; then
   described=(
       "${(@M)${(@k)parameters[(R)$~pattern[2]~*(hideval|local|special)*]}:#$~pfilt*}"
   )
--
2.39.2 (Apple Git-143)



  reply	other threads:[~2023-05-18 21:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-18 20:53 [PATCH] Fix typo in compwid.yo Marlon Richert
2023-05-18 20:53 ` Marlon Richert [this message]
2023-05-23 18:27   ` [PATCH] Use zstyle verbose for _parameters descriptions Bart Schaefer
2023-05-24 12:42     ` [PATCH] Fix verbose parameter completion tests Marlon Richert
2023-05-30 18:49     ` [PATCH] Use zstyle verbose for _parameters descriptions Vin Shelton
2023-06-05  7:53       ` Jun T
2023-06-05 20:24         ` Bart Schaefer
2023-06-05 21:12           ` Vin Shelton
2023-06-06  2:09           ` Jun T
2023-05-18 20:53 ` [PATCH] Show alias values in command completions Marlon Richert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230518205329.39746-2-marlon.richert@gmail.com \
    --to=marlon.richert@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).