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

pygments scanner for zsh?



Recently I've added syntax coloring to the zshdb debugger (on git only). It
uses pygments. See http://pygments.org/. Right now I'm using the pygments
scanner for bash.

I mention all of this in case there is a desire or need for customization of
that scanner specifically for zsh.

Also, for my terminal output I dislike the colors. See TOKEN_COLORS of
pygments/formatters/terminal.py in the source code.

For example variable name and constant are both red. As great as pygments
is, the command-line program pygmentize doesn't seem to have suitable
options for setting say terminal colors of for tokens. (Or I can't figure
out how to use it). So what I'll probably do is write a simple front-end
Python to run things and have a way inside the debugger to specify
customization.

But if folks have already figured this out, lemme know.


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