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

Will Stuyvesant hwlgw at hotmail.com
Fri Aug 9 11:21:45 CEST 2002


"""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