Load local plugins first
This commit is contained in:
parent
4038e95d4f
commit
607157b004
9
vimrc
9
vimrc
@ -4,6 +4,11 @@ let mapleader = ' '
|
||||
" Plugins
|
||||
call plug#begin('~/.vim/bundle')
|
||||
|
||||
" Load local plugins first, allows local dev whilst also being installed.
|
||||
if filereadable(expand('~/.vim/local.vim'))
|
||||
source ~/.vim/local.vim
|
||||
endif
|
||||
|
||||
" vim-airline - improved status bar
|
||||
Plug 'vim-airline/vim-airline'
|
||||
for setting in ['left_sep', 'right_sep', 'section_error', 'section_warning']
|
||||
@ -152,8 +157,4 @@ Plug 'asciidoc/vim-asciidoc'
|
||||
Plug 'mustache/vim-mustache-handlebars'
|
||||
Plug 'joshglendenning/vim-caddyfile'
|
||||
|
||||
if filereadable(expand('~/.vim/local.vim'))
|
||||
source ~/.vim/local.vim
|
||||
endif
|
||||
|
||||
call plug#end()
|
||||
|
Loading…
x
Reference in New Issue
Block a user