I've just made a few additions to the syntax highligting code.
Specifically, paremeter expansion operators (like '*', '()', '$') can
be highligted in an individual color, as can escapes (like '\n',
'\x70', etc). The code is clever enough to handle escapes within
quotes correctly, and even to mark invalid escapes as errors.

Current default colors are cyan for operators and blue for escapes.
Fish has traditionally been a bit conservative when it comes to color
use (Most types of tokens are uncolored by default) since too much
syntax highlighting can be a bit distracting, but I think this is neat
since I find it easier to see the difference between operators and
non-operators this way.

Bring on the hippie colors?

--
Axel


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to