On Wed, Aug 24, 2011 at 15:58, Ben Fritz <[email protected]> wrote:
>
> Can you post some sample code where it does not highlight properly?
>
>
For instance :
/**
* My superb function
* @returns something via the returns property.
*/
Something::returns = ->
@returns = "hello world"
The syntax highlighting code for the @returns is what I sent earlier.
Problem is, the @returns in the comment gets highlighted, but so does the
one in the function.
There is another @\w\+ rule that gets supersceded by the javaScriptDocTag,
independantly of which one is declared first (and independantly of the
"contained" modifier I put on the doctag rules).
I've tried the contains= contained and containedin approaches to no avail.
The only way it will not get highlighted is to remove the javaScriptComment
tags altogether.
--
You received this message from the "vim_use" 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