vim gvim syntax coloring bug with """docstrings"""

Jesper Olsen jolsen at mailme.dk
Fri Aug 9 15:06:37 EDT 2002


I have just emailed you my "python.vim" file.

It works great. I can not remember where I got it from, but it is out
there somewhere...

Cheers
Jesper

hwlgw at hotmail.com (Will Stuyvesant) wrote in message news:<cb035744.0208090121.796fab82 at posting.google.com>...
> """So you want to document things huh?
> 
> When source files get bigger and you put a big docstring at the top
> gvim (and vim) makes a mess of the syntax coloring, making mistakes
> all over the file in what is code and what are comments.  Does anybody
> have a good .vimrc file that does not have this problem?  Or a
> python.vim file that you can just paste into the .vimrc?
> 
> """
> 
> also using ''' instead of """ does not help :-)
> 
> 
> 
> 
> '''
> A CONS is an object which cares.
>                 -- Bernie Greenberg.
> '''



More information about the Python-list mailing list