Skip to content

Commit 24c896e

Browse files
camflanamadeus
authored andcommitted
add support for @yields (pangloss#1163)
1 parent 8450f06 commit 24c896e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extras/jsdoc.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ syntax match jsDocTags contained "@\(alias\|api\|augments\|borrows\|cla
66
" tags containing type and param
77
syntax match jsDocTags contained "@\(arg\|argument\|cfg\|param\|property\|prop\|typedef\)\>" skipwhite nextgroup=jsDocType
88
" tags containing type but no param
9-
syntax match jsDocTags contained "@\(callback\|define\|enum\|external\|implements\|this\|type\|return\|returns\)\>" skipwhite nextgroup=jsDocTypeNoParam
9+
syntax match jsDocTags contained "@\(callback\|define\|enum\|external\|implements\|this\|type\|return\|returns\|yields\)\>" skipwhite nextgroup=jsDocTypeNoParam
1010
" tags containing references
1111
syntax match jsDocTags contained "@\(lends\|see\|tutorial\)\>" skipwhite nextgroup=jsDocSeeTag
1212
" other tags (no extra syntax)

0 commit comments

Comments
 (0)