Bug#390911: Zsh syntax incorrectly handles nested quotes/apostrophes.

Benjamin A'Lee bma+bugs at bmalee.eu
Tue Oct 3 16:48:41 UTC 2006

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 <bma at bmalee.eu>"

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


Benjamin A'Lee           e: bma at bmalee.eu
gpg: 0x11464336BB6D2FA0  w: http://bmalee.eu/~bma/
"I believe in equality for everyone, except reporters and
photographers." - Mahatma Gandhi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20061003/61ea5873/attachment.pgp

More information about the pkg-vim-maintainers mailing list