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`::
50
50
autocmd BufWritePost *.py call Pyflakes()
51
51
autocmd BufWritePost *.py call Pep8()
52
52
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
+
53
63
54
64
.. _indent : http://www.vim.org/scripts/script.php?script_id=974
55
65
.. _syntax : http://www.vim.org/scripts/script.php?script_id=790
56
66
.. _Pyflakes : http://pypi.python.org/pypi/pyflakes/
57
67
.. _vim-pyflakes : https://github.com/nvie/vim-pyflakes
58
68
.. _PEP8 : http://pypi.python.org/pypi/pep8/
59
69
.. _vim-pep8 : https://github.com/nvie/vim-pep8
70
+ .. _syntastic : https://github.com/scrooloose/syntastic
60
71
61
72
.. todo :: add supertab notes
62
73
You can’t perform that action at this time.
0 commit comments