Jesse Phillips wrote:

> I have two bugs that I would like to report.
> 
> If you have a D file, hello.d, and place three colons in a row
> :::
> 
> Then opening that file will result in vim selecting dtrace.vim for
> highlighting, over the appropriate d.vim file. At witch point an error
> message will appear temporarily with:
> 
> "hello.d" 5L, 39C
> Error detected while processing /usr/share/vim/vim73/syntax/
> dtrace.vim:
> line 27:
> E28 No such highlight group name: cCommentL  " dtrace doesn't
> support // style comments
> 
> I don't care about the dtrace.vim error myself as the file shouldn't
> be loaded in the first place. The problem with the colons is that it
> can occur anywhere in the text file and it will cause this issue.

Well, the don't put three colons in a row.  Why are they there?

Recognizing the syntax sometimes involves checking specific items in the
file.  This can't be 100% accurate.  If you have an idea how to make it
work better, let us know.

-- 
hundred-and-one symptoms of being an internet addict:
85. Choice between paying Compuserve bill and paying for kids education
    is a no brainer -- although a bit painful for your kids.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
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

Raspunde prin e-mail lui