Add rainbows.scm for PHP (#14228)

This commit is contained in:
Erasin Wang
2025-08-15 21:27:15 +08:00
committed by GitHub
parent 8a898c88bc
commit fdaec3f972
2 changed files with 16 additions and 1 deletions

View File

@@ -183,7 +183,7 @@
| pem | ✓ | | | | | |
| perl | ✓ | ✓ | ✓ | | | `perlnavigator` |
| pest | ✓ | ✓ | ✓ | | | `pest-language-server` |
| php | ✓ | ✓ | ✓ | ✓ | | `intelephense` |
| php | ✓ | ✓ | ✓ | ✓ | | `intelephense` |
| php-only | ✓ | | | ✓ | | |
| pip-requirements | ✓ | | | | | |
| pkgbuild | ✓ | ✓ | ✓ | | | `termux-language-server`, `bash-language-server` |

View File

@@ -0,0 +1,15 @@
[
(declaration_list)
(compound_statement)
(array_creation_expression)
(subscript_expression)
(parenthesized_expression)
(formal_parameters)
(arguments)
(catch_clause)
(foreach_statement)
(switch_block)
(anonymous_function_use_clause)
] @rainbow.scope
["(" ")" "[" "]" "{" "}"] @rainbow.bracket