aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-09-18 10:49:08 +0800
committerGuangxiong Lin <[email protected]>2022-09-18 10:49:08 +0800
commit94b28fe469f549d0fe5ab0b2a205290ac4af6de4 (patch)
tree8a7c181875c1a716373a23e2f1c834d740f526c3
parentef55e9324273db3ead613dcaf279129859efa331 (diff)
downloaddotfiles-94b28fe469f549d0fe5ab0b2a205290ac4af6de4.tar.gz
dotfiles-94b28fe469f549d0fe5ab0b2a205290ac4af6de4.tar.bz2
dotfiles-94b28fe469f549d0fe5ab0b2a205290ac4af6de4.zip
Defer loading zsh highlight
-rwxr-xr-x.zplugrc3
1 files changed, 2 insertions, 1 deletions
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