forked from vim-scripts/python_check_syntax.vim
-
Notifications
You must be signed in to change notification settings - Fork 0
a script that check the syntax of a python file by pyflakes
marcusm/python_check_syntax.vim
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2485 You can check the syntax of a python file if you install pyflakes module in you system. It call pyflakes function to check the current python file and display error messages in quickfix window in vim. You can browse the error by usual quickfix command like 'cc' ,'cn' etc. There are two global variant which you maybe want to define in your .vimrc g:pcs_hotkey # run the checker, the default is <localleader>cs g:pcs_check_when_saving # when true, the checker automaticlly run while saving, the default is true WARNING: 1. Vim compiled with +python 2. Must install pyflakes in your system. The note is that the old version(<=0.2.1) is too old to identify the new syntax of python2.5, 2.6, so svn version is recomend.
About
a script that check the syntax of a python file by pyflakes
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Vim Script 100.0%