Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: region_highlight cancels styles set in zle_highlight
- X-seq: zsh-workers 36434
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: region_highlight cancels styles set in zle_highlight
- Date: Sun, 6 Sep 2015 18:22:30 +0100
- Cc: zsh-workers@xxxxxxx
- In-reply-to: <20150905104449.GB1895@tarsus.local2>
- 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: <20150905104449.GB1895@tarsus.local2>
On Sat, 5 Sep 2015 10:44:49 +0000
Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> How do $zle_highlight and $region_highlight interact? Which one takes
> precedence if a certain byte range is covered by both?
The special forms of highlight (the ones that apply to regions, so not,
for example, unprintable characters) are treated as the initial set of
entries in the array of highlights to apply, with any user-specified
ones in region_highlight following in order, with later values
overriding earlier ones.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author