From 3ce01076b521d9ab37dce90f2e73bdf1d44ec3d7 Mon Sep 17 00:00:00 2001 From: m0viefreak Date: Mon, 28 Mar 2016 23:45:02 +0200 Subject: [PATCH] driver: load zsh/parameter if available --- zsh-syntax-highlighting.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index f07851d..676b278 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -328,5 +328,8 @@ add-zsh-hook preexec _zsh_highlight_preexec_hook 2>/dev/null || { echo 'zsh-syntax-highlighting: failed loading add-zsh-hook.' >&2 } +# Load zsh/parameter module if available +zmodload zsh/parameter 2>/dev/null || true + # Initialize the array of active highlighters if needed. [[ $#ZSH_HIGHLIGHT_HIGHLIGHTERS -eq 0 ]] && ZSH_HIGHLIGHT_HIGHLIGHTERS=(main) || true