1
0
mirror of https://github.com/gryf/.vim.git synced 2025-12-17 11:30:29 +01:00

Added a way for defining custom plugins

This commit is contained in:
2019-02-04 21:17:18 +01:00
parent ddb45d69fa
commit 9d5bb3a614
3 changed files with 17 additions and 0 deletions

6
vimrc
View File

@@ -63,6 +63,12 @@ Plug 'vim-scripts/mako.vim--Torborg', { 'for': 'mako' }
Plug 'vimwiki/vimwiki'
Plug 'will133/vim-dirdiff'
" Custom plugins: custom plugins per machine {{{
" if filereadable($MYVIMRC . '.local')
if filereadable(fnamemodify($MYVIMRC, ':h') . '/plugins.local')
exec "source " . fnamemodify($MYVIMRC, ':h') . '/plugins.local'
endif
call plug#end()
" }}}