MP 'tpope/vim-surround'
MP 'pelodelfuego/vim-swoop'
MP 'terryma/vim-multiple-cursors'

MP 'scrooloose/nerdcommenter',        { 'on': '<Plug>NERDCommenterToggle' }

MP 'jiangmiao/auto-pairs', { 'on': [] }

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

MP 'tpope/vim-surround'
MP 'pelodelfuego/vim-swoop'
MP 'terryma/vim-multiple-cursors'

MP 'scrooloose/nerdcommenter',        { 'on': '<Plug>NERDCommenterToggle' }

MP 'jiangmiao/auto-pairs', { 'on': [] }

function! s:TryInitAutoPairs() abort
  if !has_key(g:plugs, 'auto-pairs')
    return
  endif
  if !exists('g:AutoPairsLoaded')
    call plug#load('auto-pairs')
  endif
  if exists('*AutoPairsTryInit')
    call AutoPairsTryInit()
  endif
  autocmd! spacevimAutoPairs
endfunction

augroup spacevimAutoPairs
  autocmd!
  autocmd CursorHold,CursorHoldI,InsertEnter * call <SID>TryInitAutoPairs()
augroup END

Allow disabling auto-pairs as it somehows interupts vim-clap
Allow disabling auto-pairs as it somehows interupts vim-clap

let g:spacevim_excluded = ['jiangmiao/auto-pairs']

liuchengxu/space-vim,liuchengxu/space-vim