mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
fix(php): update parser and queries
This commit is contained in:
parent
c579d186be
commit
4e21361e15
2 changed files with 5 additions and 5 deletions
|
|
@ -20,7 +20,7 @@
|
|||
.
|
||||
(argument
|
||||
(_
|
||||
(string_value) @injection.content))))
|
||||
(string_content) @injection.content))))
|
||||
(#set! injection.language "regex")
|
||||
(#lua-match? @_preg_func_identifier "^preg_"))
|
||||
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
.
|
||||
(argument
|
||||
(_
|
||||
(string_value) @injection.content))))
|
||||
(string_content) @injection.content))))
|
||||
(#set! injection.language "bash")
|
||||
(#any-of? @_shell_func_identifier
|
||||
"shell_exec" "escapeshellarg" "escapeshellcmd" "exec" "passthru" "proc_open" "shell_exec"
|
||||
|
|
@ -39,5 +39,5 @@
|
|||
|
||||
(expression_statement
|
||||
(shell_command_expression
|
||||
(string_value) @injection.content)
|
||||
(string_content) @injection.content)
|
||||
(#set! injection.language "bash"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue