Skip to content

Commit

Permalink
[Fix #399] Only enable the main syntax highlighter
Browse files Browse the repository at this point in the history
  • Loading branch information
sorin-ionescu committed Mar 1, 2013
1 parent a1a2a37 commit 579dfee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/syntax-highlighting/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion runcoms/zpreztorc
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ zstyle ':prezto:module:prompt' theme 'sorin'
#

# Set syntax highlighters.
# By default main, brackets, and cursor are enabled.
# By default, only the main highlighter is enabled.
# zstyle ':prezto:module:syntax-highlighting' highlighters \
# 'main' \
# 'brackets' \
Expand Down

0 comments on commit 579dfee

Please sign in to comment.