From 9b43ab819c756f01d2977cd481bdcaead6867174 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Sun, 18 Sep 2022 20:15:23 +0300 Subject: highlights: use @preproc where appropriate --- queries/latex/highlights.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'queries/latex') diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm index 7703b239..b9ded3d6 100644 --- a/queries/latex/highlights.scm +++ b/queries/latex/highlights.scm @@ -15,6 +15,9 @@ (comment_environment) ] @comment +((line_comment) @preproc + (#lua-match? @preproc "^%% !TeX")) + [ (brack_group) (brack_group_argc) -- cgit v1.2.3