Browse Source

[Fix #399] Only enable the main syntax highlighter

master
Sorin Ionescu 12 years ago
parent
commit
579dfee6f7
  1. 2
      modules/syntax-highlighting/init.zsh
  2. 2
      runcoms/zpreztorc

2
modules/syntax-highlighting/init.zsh

@ -16,6 +16,6 @@ source "${0:h}/external/zsh-syntax-highlighting.zsh"
# Set the highlighters. # Set the highlighters.
zstyle -a ':prezto:module:syntax-highlighting' highlighters 'ZSH_HIGHLIGHT_HIGHLIGHTERS' zstyle -a ':prezto:module:syntax-highlighting' highlighters 'ZSH_HIGHLIGHT_HIGHLIGHTERS'
if (( ${#ZSH_HIGHLIGHT_HIGHLIGHTERS[@]} == 0 )); then if (( ${#ZSH_HIGHLIGHT_HIGHLIGHTERS[@]} == 0 )); then
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets cursor) ZSH_HIGHLIGHT_HIGHLIGHTERS=(main)
fi fi

2
runcoms/zpreztorc

@ -103,7 +103,7 @@ zstyle ':prezto:module:prompt' theme 'sorin'
# #
# Set syntax highlighters. # 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 \ # zstyle ':prezto:module:syntax-highlighting' highlighters \
# 'main' \ # 'main' \
# 'brackets' \ # 'brackets' \

Loading…
Cancel
Save