mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 17:00:09 -04: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
|
|
@ -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…
Add table
Add a link
Reference in a new issue