mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
feat(php): update php and php_only parsers to v0.24.0
This commit is contained in:
parent
13e3ce3bf4
commit
42ea539243
2 changed files with 11 additions and 10 deletions
|
|
@ -1574,7 +1574,7 @@ return {
|
||||||
php = {
|
php = {
|
||||||
install_info = {
|
install_info = {
|
||||||
location = 'php',
|
location = 'php',
|
||||||
revision = 'b2278dbac9d58b02653fe6a8530ccebc492e4ed4',
|
revision = '182f034cd19a2f41f751eee0d57378fbfc96ab3a',
|
||||||
url = 'https://github.com/tree-sitter/tree-sitter-php',
|
url = 'https://github.com/tree-sitter/tree-sitter-php',
|
||||||
},
|
},
|
||||||
maintainers = { '@tk-shirasaka', '@calebdw' },
|
maintainers = { '@tk-shirasaka', '@calebdw' },
|
||||||
|
|
@ -1585,7 +1585,7 @@ return {
|
||||||
php_only = {
|
php_only = {
|
||||||
install_info = {
|
install_info = {
|
||||||
location = 'php_only',
|
location = 'php_only',
|
||||||
revision = 'b2278dbac9d58b02653fe6a8530ccebc492e4ed4',
|
revision = '182f034cd19a2f41f751eee0d57378fbfc96ab3a',
|
||||||
url = 'https://github.com/tree-sitter/tree-sitter-php',
|
url = 'https://github.com/tree-sitter/tree-sitter-php',
|
||||||
},
|
},
|
||||||
maintainers = { '@tk-shirasaka', '@calebdw' },
|
maintainers = { '@tk-shirasaka', '@calebdw' },
|
||||||
|
|
|
||||||
|
|
@ -44,21 +44,16 @@
|
||||||
"protected"
|
"protected"
|
||||||
"public"
|
"public"
|
||||||
"readonly"
|
"readonly"
|
||||||
(static_modifier)
|
"static"
|
||||||
] @keyword.modifier
|
] @keyword.modifier
|
||||||
|
|
||||||
(function_static_declaration
|
|
||||||
"static" @keyword.modifier)
|
|
||||||
|
|
||||||
[
|
[
|
||||||
"return"
|
"return"
|
||||||
"exit"
|
"exit"
|
||||||
"yield"
|
"yield"
|
||||||
|
"yield from"
|
||||||
] @keyword.return
|
] @keyword.return
|
||||||
|
|
||||||
(yield_expression
|
|
||||||
"from" @keyword.return)
|
|
||||||
|
|
||||||
[
|
[
|
||||||
"case"
|
"case"
|
||||||
"else"
|
"else"
|
||||||
|
|
@ -107,7 +102,7 @@
|
||||||
|
|
||||||
[
|
[
|
||||||
(php_tag)
|
(php_tag)
|
||||||
"?>"
|
(php_end_tag)
|
||||||
"("
|
"("
|
||||||
")"
|
")"
|
||||||
"["
|
"["
|
||||||
|
|
@ -477,3 +472,9 @@
|
||||||
(comment) @comment @spell
|
(comment) @comment @spell
|
||||||
|
|
||||||
(named_label_statement) @label
|
(named_label_statement) @label
|
||||||
|
|
||||||
|
(property_hook
|
||||||
|
(name) @label)
|
||||||
|
|
||||||
|
(visibility_modifier
|
||||||
|
(operation) @label)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue