mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-02 02:49:25 +00:00
[Fix #399] Only enable the main syntax highlighter
This commit is contained in:
@ -16,6 +16,6 @@ source "${0:h}/external/zsh-syntax-highlighting.zsh"
|
||||
# Set the highlighters.
|
||||
zstyle -a ':prezto:module:syntax-highlighting' highlighters 'ZSH_HIGHLIGHT_HIGHLIGHTERS'
|
||||
if (( ${#ZSH_HIGHLIGHT_HIGHLIGHTERS[@]} == 0 )); then
|
||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets cursor)
|
||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main)
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user