Skip to content

Commit

Permalink
Ensure auto-pairs really lazily loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchengxu committed Jun 27, 2018
1 parent 2040999 commit 40291cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/+programming/editing/packages.vim
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ MP 'jiangmiao/auto-pairs', { 'on': [] }

augroup spacevimAutoPairs
autocmd!
autocmd CursorHold,CursorHoldI,InsertEnter * call plug#load('auto-pairs') | autocmd! spacevimAutoPairs
autocmd CursorHold,CursorHoldI,InsertEnter * call plug#load('auto-pairs') | call AutoPairsTryInit() | autocmd! spacevimAutoPairs
augroup END

0 comments on commit 40291cc

Please sign in to comment.