Optionally load ~/Sandbox/format.vim if available

This commit is contained in:
Kenneth Benzie 2016-07-10 23:06:51 +01:00
parent bcea0d1ffd
commit 2eeab947c8

6
vimrc
View File

@ -43,10 +43,10 @@ Plug 'vim-scripts/vimomni', {'for': ['vim']}
" }}}
" format {{{
" format.vim - format with text objects
if platform#is_linux()
Plug 'git@bitbucket.org:infektor/format.vim.git'
else
if isdirectory('~/Sandbox/format')
Plug '~/Sandbox/format'
else
Plug 'git@bitbucket.org:infektor/format.vim.git'
endif
" }}}
" text objects {{{