vim gvim syntax coloring bug with """docstrings"""
Jim Meier
jim at dsdd.org
Fri Aug 9 10:56:39 EDT 2002
On Thu, 08 Aug 2002 20:21:45 -0600, Will Stuyvesant wrote:
> """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 :-)
>
Ordinarily this would be when I try to restrain myself from recommending
Emacs - but I can't! Emacs' python mode syntax highlighting has all sorts
of trouble with triple quoted strings. Has anyone got a fix for this, as
well?
-Jim
More information about the Python-list
mailing list