From da709cd9e90c3ab644bb92700f0ed40d965b80d3 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Thu, 13 Oct 2011 11:17:19 +0600 Subject: Initial commit. --- files/.vim/autoload/pathogen.vim | 132 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100755 files/.vim/autoload/pathogen.vim (limited to 'files/.vim/autoload/pathogen.vim') diff --git a/files/.vim/autoload/pathogen.vim b/files/.vim/autoload/pathogen.vim new file mode 100755 index 0000000..8ff5699 --- /dev/null +++ b/files/.vim/autoload/pathogen.vim @@ -0,0 +1,132 @@ +" pathogen.vim - path option manipulation +" Maintainer: Tim Pope +" Version: 1.2 + +" Install in ~/.vim/autoload (or ~\vimfiles\autoload). +" +" API is documented below. + +if exists("g:loaded_pathogen") || &cp + finish +endif +let g:loaded_pathogen = 1 + +" Split a path into a list. +function! pathogen#split(path) abort " {{{1 + if type(a:path) == type([]) | return a:path | endif + let split = split(a:path,'\\\@