on master help sign in
fix(grammar): Add `block_comment` and `comment_environment` injection for latex comments (#4922)
5c213f7Erik Bünnig
runtime/queries/latex/injections.scm+6−2
@@ -1,2 +1,6 @@
1+([
2+ (comment)
1−((line_comment) @injection.content
3+ (line_comment)
4+ (block_comment)
5+ (comment_environment)
2− (#set! injection.language "comment"))
6+ ] @injection.content (#set! injection.language "comment"))