I have released a plugin that is a highly optimized version of Zsh-Syntax-Highlighting project. Overall
60
optimizing commits have been shipped, and the result is that zed
/vared
can edit functions
that have 10 kB
of text in their body. Also, multiple syntax-recognition upgrades are being
shipped:
- Variable highlighting
- Colorizing of
${(a)parameter[...]}
inside strings (normally only$parameter
is colorized) - Fixed colorizing of function definition, like
abc() { ... }
–abc
will not be red - Fixed colorizing of complex conditions inside
[[
, like[[ "$a" || "$b" ]]
- Closing
]]
and]
are highlighted - Paths from
$CDPATH
aren’t colorized unless the command iscd
Check out full story at Github project page