Skip to content

Commit

Permalink
fix(grammar): Add block_comment and comment_environment injection…
Browse files Browse the repository at this point in the history
… for latex comments (#4922)
  • Loading branch information
epbuennig authored Nov 28, 2022
1 parent da355a3 commit 5c213f7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions runtime/queries/latex/injections.scm
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
((line_comment) @injection.content
(#set! injection.language "comment"))
([
(comment)
(line_comment)
(block_comment)
(comment_environment)
] @injection.content (#set! injection.language "comment"))

0 comments on commit 5c213f7

Please sign in to comment.