]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

fail softly if pathogen is not installed
authormartin f. krafft <madduck@madduck.net>
Sat, 10 Aug 2019 18:52:59 +0000 (20:52 +0200)
committermartin f. krafft <madduck@madduck.net>
Sat, 10 Aug 2019 18:52:59 +0000 (20:52 +0200)
.vimrc

diff --git a/.vimrc b/.vimrc
index b20d808a36a18d3ac35942cefb9c73466b6ada50..d9ac3e1db7d3ed5b4ab9e28294918732318dce8b 100644 (file)
--- 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