From 056ca2c868d4e2a62bba09b90d97eedd0a30c311 Mon Sep 17 00:00:00 2001 From: Martin Zeman Date: Wed, 6 May 2015 06:21:22 +0200 Subject: [PATCH] Added highlighting patterns options in zstyle for the zsh-syntax-highlighting submodule --- modules/syntax-highlighting/init.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/syntax-highlighting/init.zsh b/modules/syntax-highlighting/init.zsh index 25cd96b6..166c47a9 100644 --- a/modules/syntax-highlighting/init.zsh +++ b/modules/syntax-highlighting/init.zsh @@ -26,3 +26,6 @@ for syntax_highlighting_style in "${(k)syntax_highlighting_styles[@]}"; do ZSH_HIGHLIGHT_STYLES[$syntax_highlighting_style]="$syntax_highlighting_styles[$syntax_highlighting_style]" done unset syntax_highlighting_style{s,} + +# Set highlighting patterns. +zstyle -a ':prezto:module:syntax-highlighting' patterns 'ZSH_HIGHLIGHT_PATTERNS'