fix(grammar): Add block_comment and comment_environment injection for latex comments (#4922)

This commit is contained in:
Erik Bünnig 2022-11-28 16:19:16 +01:00 committed by GitHub
parent da355a3231
commit 5c213f7de4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"))