2011-11-16 10:37:03 -05:00
|
|
|
"============================================================================
|
|
|
|
"File: python.vim
|
|
|
|
"Description: Syntax checking plugin for syntastic.vim
|
|
|
|
"
|
|
|
|
"Authors: Martin Grenfell <martin.grenfell@gmail.com>
|
|
|
|
" kstep <me@kstep.me>
|
2012-01-15 12:16:47 -05:00
|
|
|
" Parantapa Bhattacharya <parantapa@gmail.com>
|
2011-11-16 10:37:03 -05:00
|
|
|
"
|
2012-01-15 12:16:47 -05:00
|
|
|
"
|
|
|
|
" For forcing the use of flake8, pyflakes, or pylint set
|
2011-11-16 10:37:03 -05:00
|
|
|
"
|
|
|
|
" let g:syntastic_python_checker = 'pyflakes'
|
2012-01-15 12:16:47 -05:00
|
|
|
"
|
|
|
|
" in your .vimrc. Default is flake8.
|
2012-02-20 05:20:48 -05:00
|
|
|
"============================================================================
|
2011-11-16 10:37:03 -05:00
|
|
|
|
2012-02-13 02:58:04 -05:00
|
|
|
if !exists('g:syntastic_python_checker_args')
|
|
|
|
let g:syntastic_python_checker_args = ''
|
|
|
|
endif
|
2009-07-29 03:19:07 -04:00
|
|
|
|
2012-12-01 15:17:46 -05:00
|
|
|
let s:supported_checkers = ["flake8", "pyflakes", "pylint", "python"]
|
2012-03-21 05:42:11 -04:00
|
|
|
call SyntasticLoadChecker(s:supported_checkers, 'python')
|