php: Update Pest tree-sitter queries to capture single quotes (#12467)
Improved PHP Pest outline and runnables to support single quoted arguments ([#12461](https://github.com/zed-industries/zed/issues/12461)). Release Notes: - N/A | Before | After | |--------|--------| |  |  | |  |  |
This commit is contained in:
parent
55c47305c8
commit
436a8fa0ce
2 changed files with 8 additions and 2 deletions
|
@ -35,7 +35,10 @@
|
||||||
arguments: (arguments
|
arguments: (arguments
|
||||||
.
|
.
|
||||||
(argument
|
(argument
|
||||||
(encapsed_string (string_value) @name)
|
[
|
||||||
|
(encapsed_string (string_value) @name)
|
||||||
|
(string (string_value) @name)
|
||||||
|
]
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
) @item
|
) @item
|
||||||
|
|
|
@ -94,7 +94,10 @@
|
||||||
arguments: (arguments
|
arguments: (arguments
|
||||||
.
|
.
|
||||||
(argument
|
(argument
|
||||||
(encapsed_string (string_value) @run)
|
[
|
||||||
|
(encapsed_string (string_value) @run)
|
||||||
|
(string (string_value) @run)
|
||||||
|
]
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
) @pest-test
|
) @pest-test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue