mirror of
https://github.com/gryf/.vim.git
synced 2025-12-17 19:40:29 +01:00
changed the way that indent is attached to python files (fuck you iCard) added convinient snippets for rest files
11 lines
290 B
VimL
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
|