VimPlugin: Syntastic
From wikinotes
Syntastic is a multi-programming-language error checker. It uses external error checkers, and integrates them into vim.
NOTE:
I like ALE much better.
NOTE vim does not read your .pythonrc, so it is necessary to extend your pythonpath in your bashrc. (I wrote a wrapper function for dirtools.recurseDir that saves the results of recurseDir to a bash array).
ALSO NOTE
Syntastic is very particular about the binaries it accepts as syntax
checkers. It reject's the arch repo's python2-pylint
because it is
called pylint2
. Instead, sudo pip2 install pylint
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
Python
"" Syntastic is very particular about executable's names
"" Do not install python2-pylint, instead install it with pip:
"" sudo pip2 install pylint
let g:syntastic_enable_python_checker = 1
let g:syntastic_python_checkers = ['python', 'pylint']