From a034c7aa25a2dca0ab2c0b82d8e325f248d52e74 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Mon, 5 Jun 2023 14:09:44 +0200 Subject: fix(highlights): lower priority for codeblocks with injections (#4905) --- queries/vimdoc/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'queries/vimdoc') diff --git a/queries/vimdoc/highlights.scm b/queries/vimdoc/highlights.scm index e0dce49b2..c52333df1 100644 --- a/queries/vimdoc/highlights.scm +++ b/queries/vimdoc/highlights.scm @@ -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 -- cgit v1.3.1