mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20:04 -04:00
feat(perl): support more modern syntax
This commit is contained in:
parent
2b2635551c
commit
20b5cbfa92
2 changed files with 16 additions and 1 deletions
|
|
@ -519,7 +519,7 @@
|
||||||
"revision": "217ff2af3f2db15a79ab7e3d21ea1e0c17e71a1a"
|
"revision": "217ff2af3f2db15a79ab7e3d21ea1e0c17e71a1a"
|
||||||
},
|
},
|
||||||
"perl": {
|
"perl": {
|
||||||
"revision": "458e694f63d59edc72a9fb321443f70f740e04e8"
|
"revision": "81c57e274c541c30d6c204c8dbceb90ec647ed8d"
|
||||||
},
|
},
|
||||||
"php": {
|
"php": {
|
||||||
"revision": "74c6b0d560c2660db4d9e8c76b681f538d494160"
|
"revision": "74c6b0d560c2660db4d9e8c76b681f538d494160"
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,11 @@
|
||||||
"method"
|
"method"
|
||||||
] @keyword.function
|
] @keyword.function
|
||||||
|
|
||||||
|
[
|
||||||
|
"async"
|
||||||
|
"await"
|
||||||
|
] @keyword.coroutine
|
||||||
|
|
||||||
[
|
[
|
||||||
"map"
|
"map"
|
||||||
"grep"
|
"grep"
|
||||||
|
|
@ -54,6 +59,7 @@
|
||||||
[
|
[
|
||||||
"package"
|
"package"
|
||||||
"class"
|
"class"
|
||||||
|
"role"
|
||||||
] @keyword.import
|
] @keyword.import
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
@ -63,6 +69,7 @@
|
||||||
"my"
|
"my"
|
||||||
"our"
|
"our"
|
||||||
"local"
|
"local"
|
||||||
|
"dynamically"
|
||||||
"state"
|
"state"
|
||||||
"field"
|
"field"
|
||||||
"last"
|
"last"
|
||||||
|
|
@ -82,10 +89,16 @@
|
||||||
(phaser_statement
|
(phaser_statement
|
||||||
phase: _ @keyword)
|
phase: _ @keyword)
|
||||||
|
|
||||||
|
(class_phaser_statement
|
||||||
|
phase: _ @keyword)
|
||||||
|
|
||||||
[
|
[
|
||||||
"or"
|
"or"
|
||||||
|
"xor"
|
||||||
"and"
|
"and"
|
||||||
"eq"
|
"eq"
|
||||||
|
"equ"
|
||||||
|
"eqr"
|
||||||
"ne"
|
"ne"
|
||||||
"cmp"
|
"cmp"
|
||||||
"lt"
|
"lt"
|
||||||
|
|
@ -106,6 +119,8 @@
|
||||||
(version)
|
(version)
|
||||||
] @number
|
] @number
|
||||||
|
|
||||||
|
(boolean) @boolean
|
||||||
|
|
||||||
[
|
[
|
||||||
(string_literal)
|
(string_literal)
|
||||||
(interpolated_string_literal)
|
(interpolated_string_literal)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue