mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 17:00:09 -04:00
Be more accurate about code block language
This commit is contained in:
parent
b96f70905b
commit
8ada8faf2f
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
(fenced_code_block
|
(fenced_code_block
|
||||||
(info_string) @language
|
(info_string
|
||||||
|
(language) @language)
|
||||||
(code_fence_content) @content)
|
(code_fence_content) @content)
|
||||||
|
|
||||||
((html_block) @html)
|
((html_block) @html)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue