Skip to content

Commit

Permalink
Add comment injection to typst queries (helix-editor#10628)
Browse files Browse the repository at this point in the history
  • Loading branch information
tingerrr authored and Vulpesx committed Jun 7, 2024
1 parent 11719cc commit 28343b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/queries/typst/injections.scm
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
lang: (ident) @injection.language
(blob) @injection.content)

((comment)
@injection.content
(#set! injection.language "comment"))

0 comments on commit 28343b7

Please sign in to comment.