Merge remote-tracking branch 'boxofrox/fix/php-tag-recognition'
This commit is contained in:
commit
b6c2b2937d
2 changed files with 2 additions and 2 deletions
|
@ -217,7 +217,7 @@ if !exists("php_ignore_phpdoc")
|
||||||
|
|
||||||
syn region phpDocTags start="{@\(example\|id\|internal\|inheritdoc\|link\|source\|toc\|tutorial\)" end="}" containedin=phpComment
|
syn region phpDocTags start="{@\(example\|id\|internal\|inheritdoc\|link\|source\|toc\|tutorial\)" end="}" containedin=phpComment
|
||||||
syn match phpDocTags "@\(abstract\|access\|author\|category\|copyright\|deprecated\|example\|final\|global\|ignore\|internal\|license\|link\|method\|name\|package\|param\|property\|return\|see\|since\|static\|staticvar\|subpackage\|todo\|tutorial\|uses\|var\|version\)\s\+\S\+.*" contains=phpDocParam containedin=phpComment
|
syn match phpDocTags "@\(abstract\|access\|author\|category\|copyright\|deprecated\|example\|final\|global\|ignore\|internal\|license\|link\|method\|name\|package\|param\|property\|return\|see\|since\|static\|staticvar\|subpackage\|todo\|tutorial\|uses\|var\|version\)\s\+\S\+.*" contains=phpDocParam containedin=phpComment
|
||||||
syn match phpDocParam "\s\S\+" contains=phpDocIdentifier
|
syn match phpDocParam "\s\S\+" contained contains=phpDocIdentifier
|
||||||
syn match phpDocIdentifier contained "$\h\w*"
|
syn match phpDocIdentifier contained "$\h\w*"
|
||||||
syn match phpDocTags "@filesource" containedin=phpComment
|
syn match phpDocTags "@filesource" containedin=phpComment
|
||||||
|
|
||||||
|
|
|
@ -420,7 +420,7 @@ if !exists("php_ignore_phpdoc")
|
||||||
|
|
||||||
syn region phpDocTags start="{@\(example\|id\|internal\|inheritdoc\|link\|source\|toc\|tutorial\)" end="}" containedin=phpComment
|
syn region phpDocTags start="{@\(example\|id\|internal\|inheritdoc\|link\|source\|toc\|tutorial\)" end="}" containedin=phpComment
|
||||||
syn match phpDocTags "@\(abstract\|access\|author\|category\|copyright\|deprecated\|example\|final\|global\|ignore\|internal\|license\|link\|method\|name\|package\|param\|property\|return\|see\|since\|static\|staticvar\|subpackage\|todo\|tutorial\|uses\|var\|version\)\s\+\S\+.*" contains=phpDocParam containedin=phpComment
|
syn match phpDocTags "@\(abstract\|access\|author\|category\|copyright\|deprecated\|example\|final\|global\|ignore\|internal\|license\|link\|method\|name\|package\|param\|property\|return\|see\|since\|static\|staticvar\|subpackage\|todo\|tutorial\|uses\|var\|version\)\s\+\S\+.*" contains=phpDocParam containedin=phpComment
|
||||||
syn match phpDocParam "\s\S\+" contains=phpDocIdentifier
|
syn match phpDocParam "\s\S\+" contained contains=phpDocIdentifier
|
||||||
syn match phpDocIdentifier contained "$\h\w*"
|
syn match phpDocIdentifier contained "$\h\w*"
|
||||||
syn match phpDocTags "@filesource" containedin=phpComment
|
syn match phpDocTags "@filesource" containedin=phpComment
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue