zsh-syntax-highlighting/highlighters
Sebastian Gniazdowski 02229ebd63 'main': optimization that in my tests shows 2.7s -> 2.2s
Consider indexing long buffers (say 300 chars). E.g. following line:
      integer offset=${${buf[start_pos+1,len]}[(i)$needle]}
will gradually go into large indices for first index [a,] and be kept
at large index for second index [,b]. Instead, we can remove already
processed characters from buf:
    proc_buf="${proc_buf[offset + $#arg + 1,-1]}"
$offset and $#arg are small, first index will not be large. $proc_buf
will be smaller and smaller and the second index [,-1] will run shorter
and shorter.
2016-05-12 18:29:09 +00:00
..
brackets tests: Add tests for 'brackets' and 'pattern' 2016-05-05 15:36:33 -05:00
cursor highlighters: Use _zsh_highlight_add_highlight 2016-04-29 10:09:16 -05:00
line highlighters: Use _zsh_highlight_add_highlight 2016-04-29 10:09:16 -05:00
main 'main': optimization that in my tests shows 2.7s -> 2.2s 2016-05-12 18:29:09 +00:00
pattern tests: Add tests for 'brackets' and 'pattern' 2016-05-05 15:36:33 -05:00
root highlighters: Use _zsh_highlight_add_highlight 2016-04-29 10:09:16 -05:00
README.md docs: Followup to the recent docs branch: clean up some internal cross-references. 2015-11-27 04:07:02 +00:00

zsh-syntax-highlighting / highlighters

Navigate into the individual highlighters' documentation to see what styles ($ZSH_HIGHLIGHT_STYLES keys) each highlighter defines.

Refer to the documentation on highlighters for further information.