Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update param syntax

  • Loading branch information...
commit f6a92d248f7cfc2873868db813485e1f69cdd592 1 parent 85c0d00
@othree authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 syntax/javascript.vim
View
4 syntax/javascript.vim
@@ -57,8 +57,8 @@ if !exists("javascript_ignore_javaScriptdoc")
syntax match javaScriptDocTags contained "@\(author\|class\|default\|deprecated\|description\|fileOverview\|namespace\|requires\|since\|version\)\>" nextgroup=javaScriptDocDesc skipwhite
syntax match javaScriptDocTags contained "@\(borrows\|exports\)\>" nextgroup=javaScriptDocA skipwhite
syntax match javaScriptDocTags contained "@\(example\)\>"
- syntax match javaScriptDocTags contained "@\(param\|property\)\>" nextgroup=javaScriptDocNamedParamType skipwhite
- syntax match javaScriptDocTags contained "@\(returns\|throws\)\>" nextgroup=javaScriptDocParamType skipwhite
+ syntax match javaScriptDocTags contained "@\(param\|property\)\>" nextgroup=javaScriptDocNamedParamType,javaScriptDocParamName skipwhite
+ syntax match javaScriptDocTags contained "@\(returns\|throws\)\>" nextgroup=javaScriptDocParamType,javaScriptDocParamName skipwhite
syntax match javaScriptDocTags contained "@\(see\)\>" nextgroup=javaScriptDocRef skipwhite
syntax match javaScriptDocNamedParamType contained "{\w\+}" nextgroup=javaScriptDocParamName skipwhite
syntax match javaScriptDocParamName contained "\w\+" nextgroup=javaScriptDocDesc skipwhite
Please sign in to comment.
Something went wrong with that request. Please try again.