Package: vim
Version: 1:7.0-094+1
Severity: minor

If I have a string with an apostrophe in, such as:
        EMAIL="Benjamin A'Lee <[EMAIL PROTECTED]>"

The syntax highlighting for the inner quoted string continues on until
the next apostrophe, and treats the closing double-quote as the start of
another nested string.

Expected behaviour is for the inner quoted string (which isn't meant to
be one) to end with the closing double-quote (this appears to be how Zsh
handles it). This is also what happens if I 'set filetype=sh'.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages vim depends on:
ii  libc6                        2.3.6.ds1-5 GNU C Library: Shared libraries
ii  libgpmg1                     1.19.6-22   General Purpose Mouse - shared lib
ii  libncurses5                  5.5-4       Shared libraries for terminal hand
ii  vim-common                   1:7.0-094+1 Vi IMproved - Common files
ii  vim-runtime                  1:7.0-094+1 Vi IMproved - Runtime files

vim recommends no packages.

-- no debconf information

        bma

-- 
Benjamin A'Lee           e: [EMAIL PROTECTED]
gpg: 0x11464336BB6D2FA0  w: http://bmalee.eu/~bma/
"I believe in equality for everyone, except reporters and
photographers." - Mahatma Gandhi

Attachment: signature.asc
Description: Digital signature

Reply via email to