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/python/highlights.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'queries/python') diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 6555a5dea..94fbe50b8 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -141,6 +141,10 @@ (float) @float (comment) @comment @spell + +((module . (comment) @preproc) + (#match? @preproc "^#!/")) + (string) @string [ (escape_sequence) -- cgit v1.2.3-70-g09d2