mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 01:40:02 -04:00
feat(djot): add latex injection (#7603)
This commit is contained in:
parent
019e8cb7b3
commit
ffa526e5aa
1 changed files with 4 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
((comment) @injection.content
|
((comment) @injection.content
|
||||||
(#set! injection.language "comment"))
|
(#set! injection.language "comment"))
|
||||||
|
|
||||||
|
(math
|
||||||
|
(content) @injection.content
|
||||||
|
(#set! injection.language "latex"))
|
||||||
|
|
||||||
(code_block
|
(code_block
|
||||||
(language) @injection.language
|
(language) @injection.language
|
||||||
(code) @injection.content)
|
(code) @injection.content)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue