mirror of
https://github.com/helix-editor/helix.git
synced 2025-10-06 00:13:28 +02:00
Add rainbows.scm for PHP (#14228)
This commit is contained in:
@@ -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` |
|
||||
|
15
runtime/queries/php/rainbows.scm
Normal file
15
runtime/queries/php/rainbows.scm
Normal 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
|
Reference in New Issue
Block a user