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': [] } Plug 'ctrlpvim/ctrlp.vim', { 'on': [] }
" 🌷 Distraction-free writing in Vim " 🌷 Distraction-free writing in Vim
Plug 'junegunn/goyo.vim', { 'for': 'markdown' } Plug 'junegunn/goyo.vim', { 'for': 'markdown' }
Plug 'preservim/nerdcommenter', { 'on': [] } Plug 'preservim/nerdcommenter'
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
@ -364,9 +364,9 @@ au BufNewFile,BufRead *.cshtml
augroup async_plug_load augroup async_plug_load
autocmd! 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 " 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 \| autocmd! async_plug_load
augroup END augroup END