Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Add completion suffix highlighting
- X-seq: zsh-workers 27454
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: Add completion suffix highlighting
- Date: Fri, 4 Dec 2009 23:00:49 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=1y8fzczWVL7SEQtuhE/EZF3eIw9jd4HkSRJxTZWBoHY=; b=QGdDM8Hk+giXsa5ih4IQJfVbxy3Oon4n1otwAAaMKXndjophySkCVB3ZIwXErk3K7c Dv8IYwdIUzDZllKMJeXgprA7edY3nY/FmgO+1CIkTGIlckr6wTwOEx5y9p6l9XhhXuV3 4L+tbteKjqP5oNW5xSOa89msn5ugIw6aQ+aEI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=uZ1KcvCfR+Avzg4F4wylGZRoHSg/+hrk8btBBY390KAhc1fxwzrjjZrS/nj9b3gvr3 dtOAR/MBwFjJWUQWGWw0cssKhCxH47f6aNQAZ0M4nR8wR/aLVG8lBUB0O964m1iMzFew W0IILLtOyWqV2M4X8IN3J1SJZelbt/8y5zKhM=
- In-reply-to: <237967ef0912041353g2ff47fa8m9dd274ed8b37511@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <237967ef0912041353g2ff47fa8m9dd274ed8b37511@xxxxxxxxxxxxxx>
2009/12/4 Mikael Magnusson <mikachu@xxxxxxxxx>:
> @@ -384,6 +389,8 @@ zle_set_highlight(void)
> region_highlights[0].atr = TXTSTANDOUT;
> if (!isearch_atr_on_set)
> region_highlights[1].atr = TXTUNDERLINE;
> + if (!suffix_atr_on_set)
> + region_highlights[2].atr = TXTBOLDFACE;
Feel free to change this to default to nothing if you want of course,
I imagine some people would be annoyed if every / they completed was
bolded before they continued typing.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author