Skip to content

Commit

Permalink
Add comment injection to typst queries
Browse files Browse the repository at this point in the history
  • Loading branch information
tingerrr committed Apr 29, 2024
1 parent ec22479 commit 4f5be5c
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 4f5be5c

Please sign in to comment.