On Aug 24, 1:24 pm, Christophe Eymard <[email protected]> wrote: > 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. >
I cannot reproduce on Windows Vista gvim 7.3.2,06 with the syntax rules you sent earlier on the snippet you send here. I also cannot reproduce, when I first set ft=javascript, and then source your rules, thinking maybe there was something in there which was interfering. With just your rules (not the javascript rules applied first), there are absolutely no syntax rules matching below the last line of the comment. -- 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
