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 Frederik Vestre committed Feb 6, 2023
1 parent e48843c commit 5baf331
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 5baf331

Please sign in to comment.