From b046e31ffa99bf1f4000bdf3ded4f16a4c05cb61 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sat, 10 Aug 2019 20:52:59 +0200 Subject: [PATCH 1/1] fail softly if pathogen is not installed --- .vimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5