diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-09-25 21:07:56 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-09-25 21:07:56 +0200 |
| commit | 4457e657255ba071497b30356676a42f6f184cdf (patch) | |
| tree | 5d82e7c3a56b6ba31ee7dd0d4a2571614f66a3ad /queries/php | |
| parent | c39162ed9d98f877eba72a36cc2dccb7451feb7c (diff) | |
| download | nvim-conf-4457e657255ba071497b30356676a42f6f184cdf.tar.gz nvim-conf-4457e657255ba071497b30356676a42f6f184cdf.zip | |
add new php query to highlight json decode and implement custom neotest php-unit
Diffstat (limited to 'queries/php')
| -rw-r--r-- | queries/php/injections.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/queries/php/injections.scm b/queries/php/injections.scm new file mode 100644 index 0000000..3f809f7 --- /dev/null +++ b/queries/php/injections.scm @@ -0,0 +1,6 @@ +(function_call_expression + ( + (name) @_function (#eq? @_function "json_decode") + (arguments (argument (string (string_value) @json ))) + ) +) |