mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 22:40:12 -04:00
fix(highlights): lower priority for codeblocks with injections (#4905)
This commit is contained in:
parent
2d6e73ab2f
commit
a034c7aa25
4 changed files with 19 additions and 14 deletions
|
|
@ -15,7 +15,7 @@
|
|||
(codespan
|
||||
"`" @conceal (#set! conceal "")
|
||||
text: (_) @text.literal)
|
||||
(codeblock) @text.literal
|
||||
((codeblock) @text.literal.block (#set! "priority" 90))
|
||||
(codeblock
|
||||
[">" (language)] @conceal (#set! conceal ""))
|
||||
(block
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue