1
0
Fork 0
mirror of synced 2024-12-27 00:53:20 -05:00
ultimate-vim/sources_non_forked/vim-python-pep8-indent/spec/vimrc

23 lines
572 B
VimL
Raw Normal View History

2022-11-21 10:06:50 -05:00
" 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