diff options
author | Erik Bünnig | 2022-11-28 15:19:16 +0000 |
---|---|---|
committer | GitHub | 2022-11-28 15:19:16 +0000 |
commit | 5c213f7de4df551284cf46631508b1b0d5244a5a (patch) | |
tree | eb0bbd8d6267be8bb479e7ecb3f9d83e2309a4b7 /runtime/queries/latex | |
parent | da355a3231174ac019b43a31958b73e818e6463f (diff) |
fix(grammar): Add `block_comment` and `comment_environment` injection for latex comments (#4922)
Diffstat (limited to 'runtime/queries/latex')
-rw-r--r-- | runtime/queries/latex/injections.scm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/queries/latex/injections.scm b/runtime/queries/latex/injections.scm index d3fdb0ca..10137468 100644 --- a/runtime/queries/latex/injections.scm +++ b/runtime/queries/latex/injections.scm @@ -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")) |