Skip to content

Commit 2198fd9

Browse files
epbuennigShekhinah Memmel
authored and
Shekhinah Memmel
committed
fix(grammar): Add block_comment and comment_environment injection for latex comments (helix-editor#4922)
1 parent 306c5af commit 2198fd9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

runtime/queries/latex/injections.scm

+6-2
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)