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 Schuyler Mortimer committed Jul 10, 2024
1 parent 9717c7e commit 6b0ca9c
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 6b0ca9c

Please sign in to comment.