mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
|
@ -44,21 +44,16 @@
|
|||
"protected"
|
||||
"public"
|
||||
"readonly"
|
||||
(static_modifier)
|
||||
"static"
|
||||
] @keyword.modifier
|
||||
|
||||
(function_static_declaration
|
||||
"static" @keyword.modifier)
|
||||
|
||||
[
|
||||
"return"
|
||||
"exit"
|
||||
"yield"
|
||||
"yield from"
|
||||
] @keyword.return
|
||||
|
||||
(yield_expression
|
||||
"from" @keyword.return)
|
||||
|
||||
[
|
||||
"case"
|
||||
"else"
|
||||
|
|
@ -107,7 +102,7 @@
|
|||
|
||||
[
|
||||
(php_tag)
|
||||
"?>"
|
||||
(php_end_tag)
|
||||
"("
|
||||
")"
|
||||
"["
|
||||
|
|
@ -477,3 +472,9 @@
|
|||
(comment) @comment @spell
|
||||
|
||||
(named_label_statement) @label
|
||||
|
||||
(property_hook
|
||||
(name) @label)
|
||||
|
||||
(visibility_modifier
|
||||
(operation) @label)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue