Use bundled copy of editorconfig-vim if available

This commit is contained in:
Danielle McLean 2023-10-14 19:43:28 +11:00
parent ec664fd566
commit b006557730
Signed by: 00dani
GPG key ID: 52C059C3B22A753E
2 changed files with 5 additions and 1 deletions

View file

@ -36,6 +36,7 @@ colorscheme gruvbox8
inoremap jj <Esc> inoremap jj <Esc>
nnoremap <C-t> :Files<CR> nnoremap <C-t> :Files<CR>
packadd! editorconfig
if exists('+belloff') if exists('+belloff')
set belloff+=ctrlg set belloff+=ctrlg

View file

@ -16,8 +16,11 @@ minpac#add('prabirshrestha/async.vim')
minpac#add('lifepillar/vim-gruvbox8') minpac#add('lifepillar/vim-gruvbox8')
minpac#add('direnv/direnv.vim') if !isdirectory($VIMRUNTIME .. '/pack/dist/opt/editorconfig')
minpac#add('editorconfig/editorconfig-vim') minpac#add('editorconfig/editorconfig-vim')
endif
minpac#add('direnv/direnv.vim')
minpac#add('godlygeek/tabular') minpac#add('godlygeek/tabular')
minpac#add('jamessan/vim-gnupg') minpac#add('jamessan/vim-gnupg')
minpac#add('junegunn/vim-easy-align') minpac#add('junegunn/vim-easy-align')