Skip to content

Commit 0857201

Browse files
committed
Fix //** still effecting to be a comment block start
1 parent e8a101c commit 0857201

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax/php.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2911,8 +2911,8 @@ syntax match phpCommentStar contained "^\s*\*$"
29112911
if !exists("php_ignore_phpdoc")
29122912
syntax case ignore
29132913

2914-
syntax region phpDocComment start="/\*\*" end="\*/" keepend contains=phpCommentTitle,phpDocTags,phpTodo
2915-
syntax region phpCommentTitle contained matchgroup=phpDocComment start="/\*\*" matchgroup=phpCommmentTitle keepend end="\.[ \t\r<&]"me=e-1 end="[^{]@"me=s-2,he=s-1 end="\*/"me=s-1,he=s-1 contains=phpCommentStar,phpTodo,phpDocTags containedin=phpComment
2914+
syntax region phpDocComment start="^\s*/\*\*" end="\*/" keepend contains=phpCommentTitle,phpDocTags,phpTodo
2915+
syntax region phpCommentTitle contained matchgroup=phpDocComment start="^\s*/\*\*" matchgroup=phpCommmentTitle keepend end="\.[ \t\r<&]"me=e-1 end="[^{]@"me=s-2,he=s-1 end="\*/"me=s-1,he=s-1 contains=phpCommentStar,phpTodo,phpDocTags containedin=phpComment
29162916

29172917
syntax region phpDocTags start="{@\(example\|id\|internal\|inheritdoc\|link\|source\|toc\|tutorial\)" end="}" containedin=phpComment
29182918
syntax match phpDocTags /@\(abstract\|author\|copyright\|deprecated\|example\|final\|ignore\|internal\|license\|link\|see\|static\|since\|throws\|todo\|tutorial\|uses\)\s*.*$/ contains=phpDocParamDesc containedin=phpComment

0 commit comments

Comments
 (0)