From: martin f. krafft Date: Sat, 10 Aug 2019 18:52:59 +0000 (+0200) Subject: fail softly if pathogen is not installed X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/b046e31ffa99bf1f4000bdf3ded4f16a4c05cb61?ds=sidebyside;hp=80dda625da425683a045c649d086197fdac91424 fail softly if pathogen is not installed --- diff --git a/.vimrc b/.vimrc index b20d808..d9ac3e1 100644 --- a/.vimrc +++ b/.vimrc @@ -1524,7 +1524,11 @@ iab mvbg Mit verbandsbrüderlichen Grüssen let g:airline_theme='minimalist' -execute pathogen#infect() +try + execute pathogen#infect() +catch + "echo "Pathogen not installed" +endtry let g:is_posix = 1