Bug#323044: two small problems with vim RST syntax highlighting

martin f krafft madduck at debian.org
Sun Aug 14 11:52:54 UTC 2005

Package: vim
Version: 1:6.3-071+1
Severity: minor

Vim's RST (restructured text) highlighting is very nice, but there
are two problems.

  1. inline references are not highlighted when the line is broken:

     If `this text
     is a reference`_ then the stuff between `'s is not highlighted
     due to the linebreak

  2. if a reference name contains an apostrophe (`madduck's ref`),
     then it is highlighted properly. However, when the reference is
     then defined, the highlight will be that of a comment, not the
     regular one (that would happen without the apostrophe):

     .. madduck's ref: bla bla

I poked at the syntax for a file, but vim's syntax configuration
remains a mystery. Thus, I am sorry that there is no patch.

-- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'testing'), (98, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-cirrus
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages vim depends on:
ii  dpkg                     1.13.10         Package maintenance system for Deb
ii  libc6                    2.3.5-3         GNU C Library: Shared libraries an
ii  libgpmg1                 1.19.6-19sarge1 General Purpose Mouse - shared lib
ii  libncurses5              5.4-9           Shared libraries for terminal hand
ii  vim-common               1:6.3-071+1     Vi IMproved - Common files

vim recommends no packages.

-- no debconf information

 .''`.     martin f. krafft <madduck at debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
all of you that believe in telekinetics, raise my hand!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20050814/acb16969/attachment.pgp

More information about the pkg-vim-maintainers mailing list