Open
Description
#535 / 3a7ddcd was a bug due to _zsh_highlight_load_highlighters
running with the interactive environment's options. We already call emulate -L
in _zsh_highlight
for precisely this reason.
Long-term we should switch to an autoload design (#252), but in the interim, we should review the driver to see if we can either:
- Run more of the driver's code under canonicalized option settings; or
- Review the driver's code to see if it's robust for being run under arbitrary setopt's (particularly including those that change syntax)