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

Re: Slow highlighting (Re: "drop-in replacement" and transpose-words-match)



Sebastian Gniazdowski wrote on Thu, Feb 11, 2016 at 13:07:14 +0100:
> I attach the zsyh parser extracted, it's probably easier to profile.
> Output is range, style name and the body of the range. Few worries:
> 
> 10937 10958 double-quoted-argument | "$NLIST_IS_UNIQ_MODE"
> 10938 10957 dollar-double-quoted-argument | $NLIST_IS_UNIQ_MODE
> 
> 930 945 single-hyphen-option | -(#c0,1)[0-9]##

Can you explain what's worrying about these?

The only issue I see is that single-hyphen-option should perhaps not
have been selected in this case.

Thanks,

Daniel



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