Skip to content

Commit 5baf331

Browse files
epbuennigFrederik Vestre
authored andcommitted
fix(grammar): Add block_comment and comment_environment injection for latex comments (helix-editor#4922)
1 parent e48843c commit 5baf331

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

runtime/queries/latex/injections.scm

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
((line_comment) @injection.content
2-
(#set! injection.language "comment"))
1+
([
2+
(comment)
3+
(line_comment)
4+
(block_comment)
5+
(comment_environment)
6+
] @injection.content (#set! injection.language "comment"))

0 commit comments

Comments
 (0)