Bug#504510: Python decorators not highlighted correctly

Daniel Watkins daniel at daniel-watkins.co.uk
Tue Nov 4 17:02:39 UTC 2008


Package: vim
Version: 2:7.2.025-2
Severity: minor

Decorators in Python can be of the form:
    @foo.bar
    def baz():
        ...
but vim will only highlight up until the '.' in the decorator.

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

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

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

vim recommends no packages.

Versions of packages vim suggests:
pn  ctags                         <none>     (no description available)
pn  vim-doc                       <none>     (no description available)
pn  vim-scripts                   <none>     (no description available)

-- no debconf information





More information about the pkg-vim-maintainers mailing list