Bug#679741: syntax/catalog.vim: misinterprets "--" within other tokens as comment

Jakub Wilk jwilk at debian.org
Sun Jul 1 09:19:27 UTC 2012


Package: vim-runtime
Version: 2:7.3.547-3
Severity: minor

If I add 

foo--bar--baz

to /etc/sgml/catalog, vim highlights "--bar--" as if it was was a 
comment. But in fact, the specification[0] reads:

the string "--" is recognized as the start of a comment if and only if 
this string constitutes the first two (or only) characters of a token

[0] https://www.oasis-open.org/specs/a401.htm


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

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

Versions of packages vim-runtime recommends:
ii  vim            2:7.3.547-3
ii  vim-gtk [vim]  2:7.3.547-3

-- 
Jakub Wilk





More information about the pkg-vim-maintainers mailing list