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

Re: region_highlight cancels styles set in zle_highlight



On 1 June 2011 17:57, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> foo() { region_highlight=("5 10 bold") }
> zle_highlight=(default:bg=blue)
> zle -N foo
> bindkey '^T' foo
> type a few words, then press ^T and ^L, note how after character 10,
> the line is no longer blue.
>
> What I'm actually trying to do is highlight the pre/post display stuff
> in narrow-to-region.

Hm, if I use bg=red instead of/in addition to bold, it works.

-- 
Mikael Magnusson



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