vimrc: load nerdcommenter right away

This commit is contained in:
surtur 2021-05-29 21:21:59 +02:00
parent b6d34d41e1
commit 152a57b45d
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -29,7 +29,7 @@ Plug 'vim-airline/vim-airline-themes'
Plug 'ctrlpvim/ctrlp.vim', { 'on': [] }
" 🌷 Distraction-free writing in Vim
Plug 'junegunn/goyo.vim', { 'for': 'markdown' }
Plug 'preservim/nerdcommenter', { 'on': [] }
Plug 'preservim/nerdcommenter'
Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-surround'
@ -364,9 +364,9 @@ au BufNewFile,BufRead *.cshtml
augroup async_plug_load
autocmd!
" these two take the longest to load, let's do it in a semi-non-blocking
" these plugins take the longest to load, let's do it in a semi-non-blocking
" fashion
autocmd CursorHold,CursorHoldI * call plug#load('syntastic', 'nerdcommenter', 'vim-clang', 'vim-speeddating', 'ctrlp.vim')
autocmd CursorHold,CursorHoldI * call plug#load('syntastic', 'vim-clang', 'vim-speeddating', 'ctrlp.vim')
\| autocmd! async_plug_load
augroup END