Permalink
Browse files

Merge pull request #44 from vxsx/syntax-methodof

Add syntax highlighting for @methodOf tag.
  • Loading branch information...
2 parents a8ce721 + 2a84f63 commit de06ab628ff0fca5243a0b2fc08715ee6053c027 @int3 int3 committed Apr 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 syntax/javascript.vim
View
@@ -48,7 +48,7 @@ if !exists("javascript_ignore_javaScriptdoc")
syntax region javaScriptDocComment matchgroup=javaScriptComment start="/\*\*\s*" end="\*/" contains=javaScriptDocTags,javaScriptCommentTodo,javaScriptCvsTag,@javaScriptHtml,@Spell fold
" tags containing a param
- syntax match javaScriptDocTags contained "@\(augments\|base\|borrows\|class\|constructs\|default\|exception\|exports\|extends\|file\|member\|memberOf\|module\|name\|namespace\|optional\|requires\|title\|throws\|version\)\>" nextgroup=javaScriptDocParam skipwhite
+ syntax match javaScriptDocTags contained "@\(augments\|base\|borrows\|class\|constructs\|default\|exception\|exports\|extends\|file\|member\|memberOf\|methodOf\|module\|name\|namespace\|optional\|requires\|title\|throws\|version\)\>" nextgroup=javaScriptDocParam skipwhite
" tags containing type and param
syntax match javaScriptDocTags contained "@\(argument\|param\|property\)\>" nextgroup=javaScriptDocType skipwhite
" tags containing type but no param

0 comments on commit de06ab6

Please sign in to comment.