only load vimplug if it exists, ignore otherwise

This commit is contained in:
Marty Oehme 2019-03-20 14:28:50 +01:00
parent 003b053fe7
commit e75653b4ef

View file

@ -23,7 +23,7 @@ endif
" defines plugin directory
" Install plugins from vim with :PlugInstall
call plug#begin('~/.local/share/nvim/plugged')
silent! if plug#begin('~/.local/share/nvim/plugged')
" Base
Plug 'tpope/vim-sensible'
@ -60,6 +60,7 @@ Plug 'edkolev/tmuxline.vim'
Plug 'Nequo/vim-allomancer'
call plug#end()
endif
" }}}
" ================================================================================