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 (helix-editor#4922)
  • Loading branch information
epbuennig authored and Shekhinah Memmel committed Dec 11, 2022
1 parent 306c5af commit 2198fd9
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 2198fd9

Please sign in to comment.