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 Chirikumbrah committed Jun 15, 2024
1 parent da3b667 commit 910fa4b
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 910fa4b

Please sign in to comment.