mirror of
https://github.com/nvim-treesitter/nvim-treesitter
synced 2024-09-16 14:34:05 +02:00
bot(lockfile)!: update d, latex
adapt d injections to breaking grammar change
This commit is contained in:
parent
45b3f7a8cf
commit
2d5133f674
2 changed files with 6 additions and 5 deletions
|
@ -102,7 +102,7 @@
|
|||
"revision": "8a5f273bfa281c66354da562f2307c2d394b6c81"
|
||||
},
|
||||
"d": {
|
||||
"revision": "750dde90ed9cdbd82493bc28478d8ab1976b0e9f"
|
||||
"revision": "f0fb364270b1a5a086b2b6b8cb7eb1a3fb9d9a8e"
|
||||
},
|
||||
"dart": {
|
||||
"revision": "ac0bb849ccd1a923963af47573b5e396736ff582"
|
||||
|
@ -387,7 +387,7 @@
|
|||
"revision": "854a40e99f7c70258e522bdb8ab584ede6196e2e"
|
||||
},
|
||||
"latex": {
|
||||
"revision": "f074e142ade9cdc292346d0484be27f9ebdbc4ea"
|
||||
"revision": "efe5afdbb59b70214e6d70db5197dc945d5b213e"
|
||||
},
|
||||
"ledger": {
|
||||
"revision": "8a841fb20ce683bfbb3469e6ba67f2851cfdf94a"
|
||||
|
|
|
@ -3,11 +3,12 @@
|
|||
|
||||
((call_expression
|
||||
(type) @_printf
|
||||
(arguments
|
||||
(named_arguments
|
||||
"("
|
||||
.
|
||||
(expression
|
||||
(string_literal) @injection.content)))
|
||||
(named_argument
|
||||
(expression
|
||||
(string_literal) @injection.content))))
|
||||
(#eq? @_printf "printf")
|
||||
(#offset! @injection.content 0 1 0 -1)
|
||||
(#set! injection.language "printf"))
|
||||
|
|
Loading…
Reference in a new issue