@@ -63,21 +63,21 @@ if !exists("javascript_ignore_javaScriptdoc")
63
63
syntax region jsBlockComment matchgroup =jsComment start =" /\*\s *" end =" \* /" contains =jsDocTags,jsCommentTodo,jsCvsTag,@jsHtml,@Spell fold
64
64
65
65
" tags containing a param
66
- syntax match jsDocTags contained " @\( alias\| api\| augments\| borrows\| class\| constructs\| default\| defaultvalue\| emits\| exception\| exports\| extends\| file\| fires\| kind\| listens\| member\| member[oO]f\| mixes\| module\| name\| namespace\| requires\| template\| throws\| var\| variation\| version\)\> " nextgroup =jsDocParam skipwhite
66
+ syntax match jsDocTags contained " @\( alias\| api\| augments\| borrows\| class\| constructs\| default\| defaultvalue\| emits\| exception\| exports\| extends\| file\| fires\| kind\| link \| listens\| member\| member[oO]f\| mixes\| module\| name\| namespace\| requires\| template\| throws\| var\| variation\| version\)\> " nextgroup =jsDocParam skipwhite
67
67
" tags containing type and param
68
- syntax match jsDocTags contained " @\( arg\| argument\| param\| property\| prop\)\> " nextgroup =jsDocType skipwhite
68
+ syntax match jsDocTags contained " @\( arg\| argument\| cfg \| param\| property\| prop\)\> " nextgroup =jsDocType skipwhite
69
69
" tags containing type but no param
70
70
syntax match jsDocTags contained " @\( callback\| define\| enum\| external\| implements\| this\| type\| typedef\| return\| returns\)\> " nextgroup =jsDocTypeNoParam skipwhite
71
71
" tags containing references
72
72
syntax match jsDocTags contained " @\( lends\| see\| tutorial\)\> " nextgroup =jsDocSeeTag skipwhite
73
73
" other tags (no extra syntax)
74
- syntax match jsDocTags contained " @\( abstract\| access\| author\| classdesc\| constant\| const\| constructor\| copyright\| deprecated\| desc\| description\| dict\| event\| example\| file[oO]verview\| final\| function\| global\| ignore\| inheritDoc\| inner\| instance\| interface\| license\| method\| mixin\| nosideeffects\| override\| overview\| preserve\| private\| protected\| public\| readonly\| since\| static\| struct\| todo\| summary\| undocumented\| virtual\)\> "
74
+ syntax match jsDocTags contained " @\( abstract\| access\| accessor \| author\| classdesc\| constant\| const\| constructor\| copyright\| deprecated\| desc\| description\| dict\| event\| example\| file[oO]verview\| final\| function\| global\| ignore\| inheritDoc\| inner\| instance\| interface\| license\| localdoc \| method\| mixin\| nosideeffects\| override\| overview\| preserve\| private\| protected\| public\| readonly\| since\| static\| struct\| todo\| summary\| undocumented\| virtual\)\> "
75
75
76
76
syntax region jsDocType start =" {" end =" }" oneline contained nextgroup =jsDocParam skipwhite
77
77
syntax match jsDocType contained " \% (#\|\"\|\w\|\.\| :\|\/\)\+ " nextgroup =jsDocParam skipwhite
78
78
syntax region jsDocTypeNoParam start =" {" end =" }" oneline contained
79
79
syntax match jsDocTypeNoParam contained " \% (#\|\"\|\w\|\.\| :\|\/\)\+ "
80
- syntax match jsDocParam contained " \% (#\|\$\|\"\| {\| }\|\w\|\.\| :\|\/\|\[\| ]\| =\)\+ "
80
+ syntax match jsDocParam contained " \% (#\|\$\| - \| ' \| \"\| {\| }\|\w\|\.\| :\|\/\|\[\| ]\| =\)\+ "
81
81
syntax region jsDocSeeTag contained matchgroup =jsDocSeeTag start =" {" end =" }" contains =jsDocTags
82
82
83
83
syntax case match
0 commit comments