From 328351cd17242e439201d3c846baf37278a1565c Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 3 Sep 2018 23:55:30 +0200 Subject: Load local plugins only when available --- vim/.vimrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc index 378d6b8..25d6e9f 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -68,8 +68,10 @@ Plug 'vim-scripts/gmsh.vim' Plug 'wellle/targets.vim' Plug 'zchee/deoplete-clang' -Plug '~/Dropbox/projects/vim-remembrall' -Plug '~/Dropbox/projects/vim-wintab' +if isdirectory($HOME."/Dropbox/projects") + Plug '~/Dropbox/projects/vim-remembrall' + Plug '~/Dropbox/projects/vim-wintab' +endif if has("nvim") " Plug 'roxma/nvim-completion-manager' -- cgit v1.2.3