From 579dfee6f71e99ea60cf2a4505152116319ba2f1 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Fri, 1 Mar 2013 00:20:51 -0500 Subject: [PATCH] [Fix #399] Only enable the main syntax highlighter --- modules/syntax-highlighting/init.zsh | 2 +- runcoms/zpreztorc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/syntax-highlighting/init.zsh b/modules/syntax-highlighting/init.zsh index d9bd414bd1..0d360174c1 100644 --- a/modules/syntax-highlighting/init.zsh +++ b/modules/syntax-highlighting/init.zsh @@ -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 diff --git a/runcoms/zpreztorc b/runcoms/zpreztorc index 27aad49b49..e0f5578728 100644 --- a/runcoms/zpreztorc +++ b/runcoms/zpreztorc @@ -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' \