2006-02-25

Updated Vim syntax highlighting file

So instead of listening intently to the talks I attended on the first day I coded. =) I wrote a script that auto-generates the Python syntax highlighting file for Vim. While Neil Schemenauer's file that is included in Vim is highly appreciated, it is unfortunately outdated (date on it says October 2002 as the last time it was touched). This was annoying since things like booleans and new built-ins were not being highlighted.

Now, if you copy or symlink Misc/Vim/python.vim to ~/.vim/syntax you will have an updated syntax file. If you have a svn checkout I would symlink to it since it will be updated as needed. And in case you don't know, there is a vimrc file in the same directory that follows PEP 7 and PEP 8 style guidelines.