Skip to content

Commit f10c8fb

Browse files
committed
⚡️ Optimize Zsh plugin loading by using 'zinit wait' for asynchronous initialization of zsh-autopair
1 parent bbe2b3d commit f10c8fb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • profile/default/resource/.config/zsh/init.d

profile/default/resource/.config/zsh/init.d/global.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ if command -v zinit &>/dev/null; then
6363
zinit snippet OMZP::asdf
6464
# zinit snippet OMZP::fzf
6565

66-
zinit light hlissner/zsh-autopair
66+
zinit wait lucid for \
67+
hlissner/zsh-autopair
6768

6869
# Fast highlight
6970
# @see https://github.com/zdharma-continuum/fast-syntax-highlighting?tab=readme-ov-file#zinit

0 commit comments

Comments
 (0)