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:
@ -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
|
||||
-------
|
||||
|
||||
|
Reference in New Issue
Block a user