From a46743a84a2da8a2d512660a342f3ff5e7b15b36 Mon Sep 17 00:00:00 2001 From: epbuennig Date: Mon, 28 Nov 2022 13:27:29 +0100 Subject: [PATCH] added block_comment and comment_environment to comment injection --- runtime/queries/latex/injections.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/runtime/queries/latex/injections.scm b/runtime/queries/latex/injections.scm index d3fdb0ca7178..101374686d05 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"))