Always load Editorconfig the same way :)
This commit is contained in:
parent
66dc71d9b3
commit
e82917918f
2 changed files with 7 additions and 2 deletions
|
@ -44,7 +44,9 @@ inoremap jj <Esc>
|
||||||
# tools my beloved
|
# tools my beloved
|
||||||
nnoremap <C-t> :Files<CR>
|
nnoremap <C-t> :Files<CR>
|
||||||
|
|
||||||
silent! packadd! editorconfig
|
# We will always have Editorconfig available as an optional package, either
|
||||||
|
# because it was bundled with Vim or because Minpac installed it that way.
|
||||||
|
packadd! editorconfig
|
||||||
|
|
||||||
set belloff+=ctrlg
|
set belloff+=ctrlg
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,11 @@ minpac#add('prabirshrestha/async.vim')
|
||||||
|
|
||||||
minpac#add('lifepillar/vim-gruvbox8')
|
minpac#add('lifepillar/vim-gruvbox8')
|
||||||
|
|
||||||
|
# If this Vim doesn't already provide Editorconfig as part of its runtime,
|
||||||
|
# install it ourselves, using exactly the same package name and type (opt, so
|
||||||
|
# that it can be loaded with :packadd).
|
||||||
if !isdirectory($VIMRUNTIME .. '/pack/dist/opt/editorconfig')
|
if !isdirectory($VIMRUNTIME .. '/pack/dist/opt/editorconfig')
|
||||||
minpac#add('editorconfig/editorconfig-vim')
|
minpac#add('editorconfig/editorconfig-vim', {name: 'editorconfig', type: 'opt'})
|
||||||
endif
|
endif
|
||||||
|
|
||||||
minpac#add('direnv/direnv.vim')
|
minpac#add('direnv/direnv.vim')
|
||||||
|
|
Loading…
Reference in a new issue