News for hackers. Stuff that matters.
Re:Actual drawbacks to omitting semi-colons? by grayrest on Wednesday October 06, 2010 @01:32AM (#1762848)
In your after/syntax/javascript.vim:

    syntax match javascriptReturnError /return\s*\n\r\?\s*\w.*$/

    ...

    highlight link javascriptReturnError Error
Obviously you can play around with the regex to tweak what matches.

There are no comments on this comment yet.