1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-08-02 07:09:25 +00:00

[#52] Add zstyles to configure syntax-highlighting

This commit is contained in:
Sorin Ionescu
2012-12-23 15:50:12 -05:00
parent b42479a7c7
commit 810a4490d7
3 changed files with 29 additions and 1 deletions

View File

@ -38,6 +38,18 @@ To enable all highlighters, add the following to *zpreztorc*:
'cursor' \
'root'
### Highlighting Styles
Each syntax highlighter defines styles used to highlight tokens.
To highlight, for example, builtins, commands, and functions in blue instead of
green, add the following to *zpreztorc*:
zstyle ':prezto:module:syntax-highlighting' styles \
'builtin' 'bg=blue' \
'command' 'bg=blue' \
'function' 'bg=blue'
Authors
-------