mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17: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
|
|
@ -498,10 +498,10 @@
|
|||
"revision": "96a17c4c2dd345dc61f330d040684538d634bbc2"
|
||||
},
|
||||
"php": {
|
||||
"revision": "29838ad107f50b1f5f51a0beefa9c9d834fce2b3"
|
||||
"revision": "58054be104db0809ea6f119514a4d904f95e5b5c"
|
||||
},
|
||||
"php_only": {
|
||||
"revision": "29838ad107f50b1f5f51a0beefa9c9d834fce2b3"
|
||||
"revision": "58054be104db0809ea6f119514a4d904f95e5b5c"
|
||||
},
|
||||
"phpdoc": {
|
||||
"revision": "f285e338d328a03920a9bfd8dda78585c7ddcca3"
|
||||
|
|
|
|||
|
|
@ -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