Skip to content

Commit a55b6eb

Browse files
committed
Closes StanAngeloff#51, PHP closing tag in DocBlock.
1 parent 424a51e commit a55b6eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/php.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ syn match phpCommentStar contained "^\s*\*$"
595595
if !exists("php_ignore_phpdoc") || !php_ignore_phpdoc
596596
syn case ignore
597597

598-
SynFoldDoc syn region phpDocComment start="/\*\*" end="\*/" keepend contains=phpCommentTitle,phpDocTags,phpTodo,@Spell
598+
SynFoldDoc syn region phpDocComment start="/\*\*" end="\*/" keepend contains=phpCommentTitle,phpDocTags,phpTodo,@Spell extend
599599
syn region phpCommentTitle contained matchgroup=phpDocComment start="/\*\*" matchgroup=phpCommentTitle keepend end="\.$" end="\.[ \t\r<&]"me=e-1 end="[^{]@"me=s-2,he=s-1 end="\*/"me=s-1,he=s-1 contains=phpCommentStar,phpTodo,phpDocTags,@Spell containedin=phpDocComment
600600

601601
syn region phpDocTags start="{@\(example\|id\|internal\|inheritdoc\|link\|source\|toc\|tutorial\)" end="}" containedin=phpDocComment

0 commit comments

Comments
 (0)