File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,24 @@ order to do this, add the following lines to your `vimrc`::
5050 autocmd BufWritePost *.py call Pyflakes()
5151 autocmd BufWritePost *.py call Pep8()
5252
53+ If you are already using syntastic _ you can enable it to run Pyflakes on write
54+ and show errors and warnings in the quickfix window. An example configuration
55+ to do that which also shows status and warning messages in the statusbar would be::
56+
57+ set statusline+=%#warningmsg#
58+ set statusline+=%{SyntasticStatuslineFlag()}
59+ set statusline+=%*
60+ let g:syntastic_auto_loc_list=1
61+ let g:syntastic_loc_list_height=5
62+
5363
5464.. _indent : http://www.vim.org/scripts/script.php?script_id=974
5565.. _syntax : http://www.vim.org/scripts/script.php?script_id=790
5666.. _Pyflakes : http://pypi.python.org/pypi/pyflakes/
5767.. _vim-pyflakes : https://github.com/nvie/vim-pyflakes
5868.. _PEP8 : http://pypi.python.org/pypi/pep8/
5969.. _vim-pep8 : https://github.com/nvie/vim-pep8
70+ .. _syntastic : https://github.com/scrooloose/syntastic
6071
6172.. todo :: add supertab notes
6273
You can’t perform that action at this time.
0 commit comments