Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: region_highlight and zle_highlight[paste]



On Tue, Sep 8, 2015 at 10:27 AM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
> On Mon, 7 Sep 2015 21:22:11 +0000
> Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>> Since region_highlight overrides zle_highlight[paste], as a widget
>> writer I'd like to know what part of $BUFFER is being paste-highlighted,
>> in order to avoid setting region_highlight entries for it.
>>
>> Does this seem reasonable?
>
> It's not much code, so if this is useful in practice, I'd say yes.

I noticed that a specification for fg=red overrides a bg=blue
specification to no background. Would it be easy to merge these
instead? (for example bold + bg=blue works already).

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author