Bug#673702: Syntax highlighting for muttrc files gets confused by ^ in regexes

Josh Triplett josh at joshtriplett.org
Sun May 20 20:27:24 UTC 2012


Package: vim
Version: 2:7.3.429-2
Severity: normal

My ~/.muttrc has an account-hook with a regex starting with ^ , like
this:

account-hook ^imaps://josh@joshtriplett.org/ 'set tunnel="cloud-imap"'

This causes vim to incorrectly highlight the rest of the file.  The
highlighting should have stopped at the end of the regex.

- Josh Triplett

-- Package-specific info:

--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.basic
/usr/bin/vim is /usr/bin/vim.basic

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

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

Versions of packages vim depends on:
ii  libacl1      2.2.51-7
ii  libc6        2.13-32
ii  libgpm2      1.20.4-4
ii  libselinux1  2.1.9-4
ii  libtinfo5    5.9-7
ii  vim-common   2:7.3.429-2
ii  vim-runtime  2:7.3.429-2

vim recommends no packages.

Versions of packages vim suggests:
pn  ctags        <none>
pn  vim-doc      <none>
pn  vim-scripts  <none>

-- no debconf information





More information about the pkg-vim-maintainers mailing list