mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 19:03:30 +04:00
18f6ec7a8e
* Update treesitter markdown * Update inline and add table injections
16 lines
785 B
Scheme
16 lines
785 B
Scheme
; From nvim-treesitter/nvim-treesitter
|
|
|
|
(fenced_code_block
|
|
(info_string
|
|
(language) @injection.language)
|
|
(code_fence_content) @injection.content (#set! injection.include-unnamed-children))
|
|
|
|
((html_block) @injection.content (#set! injection.language "html") (#set! injection.include-unnamed-children))
|
|
|
|
((pipe_table_cell) @injection.content (#set! injection.language "markdown.inline") (#set! injection.include-unnamed-children))
|
|
|
|
((minus_metadata) @injection.content (#set! injection.language "yaml") (#set! injection.include-unnamed-children))
|
|
((plus_metadata) @injection.content (#set! injection.language "toml") (#set! injection.include-unnamed-children))
|
|
|
|
((inline) @injection.content (#set! injection.language "markdown.inline") (#set! injection.include-unnamed-children))
|