Hello,

The attached patch also highlights lines starting with '#' as comment line. Now most dosini parser also regards '#' as comment string, and Debian has already modified dosini.vim to highlight lines starting with '#' as comment lines.

Could not get a reply from the original author of this syntax file.

Regards,
H Xu
2011/7/15

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff -r e9538cfd0d9c runtime/syntax/dosini.vim
--- a/runtime/syntax/dosini.vim Wed May 25 21:18:06 2011 +0200
+++ b/runtime/syntax/dosini.vim Wed Jun 08 22:43:35 2011 +0800
@@ -19,7 +19,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

Raspunde prin e-mail lui