Permalink
Browse files

Refine: Apply one liner JsDoc annotations syntax

  • Loading branch information...
1 parent 5c5c0cf commit 89994bfb2a45247ca98bfdb3316f7fff5bd7c23a @Kuniwak committed May 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 syntax/javascript.vim
View
@@ -61,7 +61,7 @@ if !exists("javascript_ignore_javaScriptdoc")
" fileoverview
" author foo.bar@example.com (Foo Bar)
- syntax region javaScriptDocComment matchgroup=javaScriptComment start="/\*\*\s*$" end="\*/" contains=javaScriptDocTags,javaScriptCommentTodo,javaScriptCvsTag,@javaScriptHtml,@Spell fold
+ syntax region javaScriptDocComment matchgroup=javaScriptComment start="/\*\*\s*" end="\*/" contains=javaScriptDocTags,javaScriptCommentTodo,javaScriptCvsTag,@javaScriptHtml,@Spell fold
syntax match javaScriptDocTags contained "@\(define\|enum\|extends\|implements\|param\|return\|this\|type\|typedef\)\>" nextgroup=javaScriptDocParam,javaScriptDocSeeTag skipwhite
syntax match javaScriptDocTags contained "@\(const\|constructor\|deprecated\|fileoverview\|inheritDoc\|interface\|license\|nosideeffects\|override\|private\|protected\)\>"
syntax match javaScriptDocTags contained "@author " nextgroup=javaScriptDocAuthorParam skipwhite

0 comments on commit 89994bf

Please sign in to comment.