mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 16:30: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
|
((comment) @jsdoc)
|
||||||
(#set! "lang" "jsdoc"))
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
(fenced_code_block
|
(fenced_code_block
|
||||||
(info_string) @lang
|
(info_string) @language
|
||||||
(code_fence_content) @injection)
|
(code_fence_content) @content)
|
||||||
|
|
||||||
((html_block) @injection
|
((html_block) @html)
|
||||||
(#set! "lang" "html"))
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1 @@
|
||||||
((ocaml) @injection
|
((ocaml) @ocaml)
|
||||||
(#set! "lang" "ocaml"))
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue