mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-11-28 21:20:23 +03:00
Update tree-sitter-php to latest upstream (#1521)
Brings in PHP 8.1 features, like enums, union types and the like.
This commit is contained in:
parent
a7b0cc730c
commit
dd1f64d4dc
@ -1 +1 @@
|
|||||||
Subproject commit 0d63eaf94e8d6c0694551b016c802787e61b3fb2
|
Subproject commit 57f855461aeeca73bd4218754fb26b5ac143f98f
|
@ -5,7 +5,8 @@
|
|||||||
|
|
||||||
(primitive_type) @type.builtin
|
(primitive_type) @type.builtin
|
||||||
(cast_type) @type.builtin
|
(cast_type) @type.builtin
|
||||||
(type_name (name) @type)
|
(named_type (name) @type) @type
|
||||||
|
(named_type (qualified_name) @type) @type
|
||||||
|
|
||||||
; Functions
|
; Functions
|
||||||
|
|
||||||
@ -85,10 +86,12 @@
|
|||||||
"endif" @keyword
|
"endif" @keyword
|
||||||
"endswitch" @keyword
|
"endswitch" @keyword
|
||||||
"endwhile" @keyword
|
"endwhile" @keyword
|
||||||
|
"enum" @keyword
|
||||||
"extends" @keyword
|
"extends" @keyword
|
||||||
"final" @keyword
|
"final" @keyword
|
||||||
"finally" @keyword
|
"finally" @keyword
|
||||||
"foreach" @keyword
|
"foreach" @keyword
|
||||||
|
"fn" @keyword
|
||||||
"function" @keyword
|
"function" @keyword
|
||||||
"global" @keyword
|
"global" @keyword
|
||||||
"if" @keyword
|
"if" @keyword
|
||||||
@ -97,6 +100,7 @@
|
|||||||
"include" @keyword
|
"include" @keyword
|
||||||
"insteadof" @keyword
|
"insteadof" @keyword
|
||||||
"interface" @keyword
|
"interface" @keyword
|
||||||
|
"match" @keyword
|
||||||
"namespace" @keyword
|
"namespace" @keyword
|
||||||
"new" @keyword
|
"new" @keyword
|
||||||
"private" @keyword
|
"private" @keyword
|
||||||
|
Loading…
Reference in New Issue
Block a user