@@ -63,21 +63,21 @@ if !exists("javascript_ignore_javaScriptdoc")
6363 syntax region jsBlockComment matchgroup =jsComment start =" /\*\s *" end =" \* /" contains =jsDocTags,jsCommentTodo,jsCvsTag,@jsHtml,@Spell fold
6464
6565 " 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
6767 " 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
6969 " tags containing type but no param
7070 syntax match jsDocTags contained " @\( callback\| define\| enum\| external\| implements\| this\| type\| typedef\| return\| returns\)\> " nextgroup =jsDocTypeNoParam skipwhite
7171 " tags containing references
7272 syntax match jsDocTags contained " @\( lends\| see\| tutorial\)\> " nextgroup =jsDocSeeTag skipwhite
7373 " 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\)\> "
7575
7676 syntax region jsDocType start =" {" end =" }" oneline contained nextgroup =jsDocParam skipwhite
7777 syntax match jsDocType contained " \% (#\|\"\|\w\|\.\| :\|\/\)\+ " nextgroup =jsDocParam skipwhite
7878 syntax region jsDocTypeNoParam start =" {" end =" }" oneline contained
7979 syntax match jsDocTypeNoParam contained " \% (#\|\"\|\w\|\.\| :\|\/\)\+ "
80- syntax match jsDocParam contained " \% (#\|\$\|\"\| {\| }\|\w\|\.\| :\|\/\|\[\| ]\| =\)\+ "
80+ syntax match jsDocParam contained " \% (#\|\$\| - \| ' \| \"\| {\| }\|\w\|\.\| :\|\/\|\[\| ]\| =\)\+ "
8181 syntax region jsDocSeeTag contained matchgroup =jsDocSeeTag start =" {" end =" }" contains =jsDocTags
8282
8383 syntax case match
0 commit comments