On Feb 28, 2009, at 7:28 PM, Matt Tolton wrote:
> It's a bug in the python syntax file.  If you add "contained" to the
> pythonDecoratorName syntax item then it fixes it.  I emailed the
> maintainer and he fixed it, so it will probably be fixed the next time
> bjorn updates the runtime files.

Actually, that file is full of errors.

- regular expressions for many syntax elements are not fully correct
- the synchronization is not very good
- it cannot highlight python code in doctests at all.
- it cannot higlight decorators that are methods of an object
- ...

I have a syntax file that fixes all the issues, adds the highlighting  
for doctests, fixes the synchronization, and brings all the keywords  
and exceptions up-to-date with Python 2.6 and 3.0.

I'll try to get it into Vim with either the current maintainer support  
or vim-dev and Bram directly.

My syntax file is tested every single day on large professional Zope  
projects that use all features of Python.

        Zvezdan


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to