Bug#500896: vim: python syntax higlighting fails on some text portions

Nicolas Évrard nicolas.evrard at openhex.com
Thu Oct 2 12:35:44 UTC 2008


Package: vim
Version: 2:7.2.010-1
Severity: minor

Hello,

Sometimes when there is some huge pieces of docstrings in python files 
vim fails to correctly highlight some place of the text : the 
docstring is hightlighted as the code and vice-versa.

For an example of this behavior opens core.py from the python-genshi 
package. It appears that it happens when you jump on a line and that 
the first line displayed in the terminal is part of a long docstring.


-- System Information:
Debian Release: lenny/sid
   APT prefers unstable
   APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vim depends on:
ii  libacl1                   2.2.47-2       Access control list shared library
ii  libc6                     2.7-13         GNU C Library: Shared libraries
ii  libgpm2                   1.20.4-2       General Purpose Mouse - shared lib
ii  libncurses5               5.6+20080925-1 shared libraries for terminal hand
ii  libselinux1               2.0.65-5       SELinux shared libraries
ii  vim-common                2:7.2.010-1    Vi IMproved - Common files
ii  vim-runtime               2:7.2.010-1    Vi IMproved - Runtime files

vim recommends no packages.

Versions of packages vim suggests:
ii  exuberant-ctags [ctags]       1:5.7-4    build tag file indexes of source c
pn  vim-doc                       <none>     (no description available)
ii  vim-scripts                   20080722-1 plugins for vim, adding bells and 

-- no debconf information

-- 
Nicolas Évrard     |   Web: http://www.openhex.com
Liège - Belgique





More information about the pkg-vim-maintainers mailing list