Skip to content

Commit af501dd

Browse files
author
Alex Luecke
committed
allow typed return values. Fixes #131.
1 parent fbd0e9e commit af501dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax/typescript.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ if !exists("typescript_ignore_typescriptdoc")
4545
"unlet b:current_syntax
4646

4747
syntax region typescriptDocComment start="/\*\*\s*$" end="\*/" contains=typescriptDocTags,typescriptCommentTodo,typescriptCvsTag,@typescriptHtml,@Spell fold extend
48-
syntax match typescriptDocTags contained "@\(param\|argument\|requires\|exception\|throws\|type\|class\|extends\|see\|link\|member\|module\|method\|title\|namespace\|optional\|default\|base\|file\)\>" nextgroup=typescriptDocParam,typescriptDocSeeTag skipwhite
49-
syntax match typescriptDocTags contained "@\(beta\|deprecated\|description\|fileoverview\|author\|license\|version\|returns\=\|constructor\|private\|protected\|final\|ignore\|addon\|exec\)\>"
48+
syntax match typescriptDocTags contained "@\(param\|argument\|requires\|exception\|throws\|type\|class\|extends\|see\|link\|member\|module\|method\|title\|namespace\|optional\|default\|base\|file\|returns\=\)\>" nextgroup=typescriptDocParam,typescriptDocSeeTag skipwhite
49+
syntax match typescriptDocTags contained "@\(beta\|deprecated\|description\|fileoverview\|author\|license\|version\|constructor\|private\|protected\|final\|ignore\|addon\|exec\)\>"
5050
syntax match typescriptDocParam contained "\%(#\|\w\|\.\|:\|\/\)\+"
5151
syntax region typescriptDocSeeTag contained matchgroup=typescriptDocSeeTag start="{" end="}" contains=typescriptDocTags
5252

0 commit comments

Comments
 (0)