From 40291ccd676ac9303f414717260f6d7cb9e70be4 Mon Sep 17 00:00:00 2001 From: Liu-Cheng Xu Date: Wed, 27 Jun 2018 08:27:01 +0800 Subject: [PATCH] Ensure auto-pairs really lazily loaded Fix #329 --- layers/+programming/editing/packages.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/+programming/editing/packages.vim b/layers/+programming/editing/packages.vim index ddf939adb..0431ebe0f 100644 --- a/layers/+programming/editing/packages.vim +++ b/layers/+programming/editing/packages.vim @@ -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