mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 07:50:07 -04:00
Adds support for PHP's arrow funcion (#1427)
Co-authored-by: shirasaka <shirasaka@n-create.co.jp>
This commit is contained in:
parent
90024c24aa
commit
fe47dbe02b
1 changed files with 9 additions and 2 deletions
|
|
@ -75,10 +75,18 @@
|
||||||
|
|
||||||
; Keywords
|
; Keywords
|
||||||
|
|
||||||
|
[
|
||||||
|
"as"
|
||||||
|
] @keyword.operator
|
||||||
|
|
||||||
|
[
|
||||||
|
"fn"
|
||||||
|
"function"
|
||||||
|
] @keyword.function
|
||||||
|
|
||||||
[
|
[
|
||||||
"$"
|
"$"
|
||||||
"abstract"
|
"abstract"
|
||||||
"as"
|
|
||||||
"break"
|
"break"
|
||||||
"class"
|
"class"
|
||||||
"const"
|
"const"
|
||||||
|
|
@ -89,7 +97,6 @@
|
||||||
"enddeclare"
|
"enddeclare"
|
||||||
"extends"
|
"extends"
|
||||||
"final"
|
"final"
|
||||||
"function"
|
|
||||||
"global"
|
"global"
|
||||||
"implements"
|
"implements"
|
||||||
"insteadof"
|
"insteadof"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue