Bug#378952: syntax/dosini.vim: please accept # as a comment marker

Adeodato Simó dato at net.com.org.es
Wed Jul 19 23:40:42 UTC 2006

Package: vim-runtime
Version: 1:7.0-035+1
Severity: wishlist
Tags: upstream, patch


I would like that syntax/dosini.vim would accept '#' in addition to ';'
as a comment marker, since an increasing number of dosini-like configuration
files accept them (e.g., schroot's, and Python's ConfigParser as found
in the standard library).

I would like the attached to be applied in the Debian packages, and
would be grateful if it could be submitted upstream.


Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
So!, So. First day, Yes. Scary, Yes. Don't be scared, Well I'm not really
scared. You should be, Well I am a little bit scared. Well don't be, Make up
your mind!
                -- Denholm, Jen. The IT Crowd.
-------------- next part --------------
--- syntax/dosini.vim~
+++ syntax/dosini.vim
@@ -17,7 +17,7 @@
 syn match  dosiniLabel		"^.\{-}="
 syn region dosiniHeader		start="\[" end="\]"
-syn match  dosiniComment	"^[;#].*$"
+syn match  dosiniComment	"^;.*$"
 " Define the default highlighting.
 " For version 5.7 and earlier: only when not done already

More information about the pkg-vim-maintainers mailing list