From 94b28fe469f549d0fe5ab0b2a205290ac4af6de4 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 18 Sep 2022 10:49:08 +0800 Subject: Defer loading zsh highlight --- .zplugrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zplugrc b/.zplugrc index ce58d09..1c2ac00 100755 --- a/.zplugrc +++ b/.zplugrc @@ -9,7 +9,8 @@ fi source $ZPLUG_HOME/init.zsh zplug "zsh-users/zsh-completions" -zplug "zsh-users/zsh-syntax-highlighting" +# zsh-syntax-highlighting must be loaded after other plugins +zplug "zsh-users/zsh-syntax-highlighting", defer:2 zplug "dracula/zsh", as:theme if ! zplug check --verbose; then -- cgit v1.2.3