1
0
mirror of https://github.com/gryf/.vim.git synced 2025-12-17 19:40:29 +01:00
Files
.vim/indent/python.vim
gryf e78bb87c7f Added exclude variable for pep8
changed the way that indent is attached to python files (fuck you iCard)
added convinient snippets for rest files
2011-05-02 13:29:27 +02:00

11 lines
290 B
VimL

" This dirty hack for boys from BTH will be erased after this embrassing
" project end.
let current_file = expand('%:p')
if match(current_file, '\cicard') < 0
source $HOME/.vim/indent/python_pep8.vim
else
let g:pep8_exclude=['W191']
source $VIMRUNTIME/indent/python.vim
endif