mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(injections): update to new API
This commit is contained in:
parent
fccc159b48
commit
90d6ef96d2
3 changed files with 5 additions and 8 deletions
|
|
@ -1,2 +1 @@
|
|||
((comment) @injection
|
||||
(#set! "lang" "jsdoc"))
|
||||
((comment) @jsdoc)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
(fenced_code_block
|
||||
(info_string) @lang
|
||||
(code_fence_content) @injection)
|
||||
(info_string) @language
|
||||
(code_fence_content) @content)
|
||||
|
||||
((html_block) @injection
|
||||
(#set! "lang" "html"))
|
||||
((html_block) @html)
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
((ocaml) @injection
|
||||
(#set! "lang" "ocaml"))
|
||||
((ocaml) @ocaml)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue