Short hint for all those who use vim and pathogen
Today, after updating my workspace to latest version I encounter below error during vim running:
bash
Error detected while processing function pathogen#runtime_append_all_bundles:
line 1:
E121: Undefined variable: source_path
E116: Invalid arguments for function string(source_path).') to pathogen#incubate('.string(source_path.'/{}').')')
E116: Invalid arguments for function 4_warn
Press ENTER or type command to continueQuick look on pathogen runtime_append_all_bundles function and I found:
bash
call s:warn('Change pathogen#runtime_append_all_bundles('.string(a:1).') to pathogen#incubate('.string(a:1.'/{}').')')So simply replacing:
bash
call pathogen#runtime_append_all_bundles()with:
bash
call pathogen#incubate() in $HOME/.vimrc fix the problem.