help: update queries

supports injections for codeblocks starting with, e.g., `>lua`
This commit is contained in:
Christian Clason 2022-11-22 15:22:56 +01:00 committed by Christian Clason
parent b8800111e2
commit bf5ea2ea99
2 changed files with 4 additions and 1 deletions

View file

@ -17,7 +17,7 @@
text: (_) @text.literal)
(codeblock) @text.literal
(codeblock
">" @conceal (#set! conceal ""))
[">" (language)] @conceal (#set! conceal ""))
(block
"<" @conceal (#set! conceal ""))
(argument) @parameter

View file

@ -0,0 +1,3 @@
(codeblock
(language) @language
(code) @contents)