mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
24
runtime/queries/djot/injections.scm
Normal file
24
runtime/queries/djot/injections.scm
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
(math
|
||||
(content) @injection.content
|
||||
(#set! injection.language "latex"))
|
||||
|
||||
(code_block
|
||||
(language) @injection.language
|
||||
(code) @injection.content)
|
||||
|
||||
(raw_block
|
||||
(raw_block_info
|
||||
(language) @injection.language)
|
||||
(content) @injection.content)
|
||||
|
||||
(raw_inline
|
||||
(content) @injection.content
|
||||
(raw_inline_attribute
|
||||
(language) @injection.language))
|
||||
|
||||
(frontmatter
|
||||
(language) @injection.language
|
||||
(frontmatter_content) @injection.content)
|
||||
Loading…
Add table
Add a link
Reference in a new issue