ac0c732f6a
Set g:loaded_FOO_syntax_checker in syntastic.vim, not every ft file.
23 lines
766 B
VimL
23 lines
766 B
VimL
"============================================================================
|
|
"File: python.vim
|
|
"Description: Syntax checking plugin for syntastic.vim
|
|
"
|
|
"Authors: Martin Grenfell <martin.grenfell@gmail.com>
|
|
" kstep <me@kstep.me>
|
|
" Parantapa Bhattacharya <parantapa@gmail.com>
|
|
"
|
|
"
|
|
" For forcing the use of flake8, pyflakes, or pylint set
|
|
"
|
|
" let g:syntastic_python_checker = 'pyflakes'
|
|
"
|
|
" in your .vimrc. Default is flake8.
|
|
"============================================================================
|
|
|
|
if !exists('g:syntastic_python_checker_args')
|
|
let g:syntastic_python_checker_args = ''
|
|
endif
|
|
|
|
let s:supported_checkers = ["flake8", "pyflakes", "pylint", "python"]
|
|
call SyntasticLoadChecker(s:supported_checkers, 'python')
|