mirror of
https://github.com/amix/vimrc
synced 2025-07-06 16:05:01 +08:00
Use sources_non_forked folder for pathogen path, with sources_non_forked_fallback folder as fallback.
This commit is contained in:
@ -1,22 +0,0 @@
|
||||
" vint: -ProhibitSetNoCompatible
|
||||
set nocompatible
|
||||
|
||||
filetype plugin on
|
||||
filetype indent on
|
||||
syntax on
|
||||
|
||||
set noswapfile nobackup
|
||||
|
||||
" remove default ~/.vim directories to avoid loading plugins
|
||||
set runtimepath-=~/.vim
|
||||
set runtimepath-=~/.vim/after
|
||||
|
||||
let sfile = expand('<sfile>')
|
||||
let plugin_path = fnamemodify(sfile, ':p:h:h')
|
||||
exe 'set runtimepath^='.plugin_path
|
||||
|
||||
if !empty($PYTHON_PEP8_INDENT_TEST_PROFILE_BASE)
|
||||
execute printf('profile start %s.%s',
|
||||
\ $PYTHON_PEP8_INDENT_TEST_PROFILE_BASE, getpid())
|
||||
execute 'profile! file '. plugin_path . '/indent/python.vim'
|
||||
endif
|
Reference in New Issue
Block a user