aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python/highlights.scm')
-rw-r--r--queries/python/highlights.scm4
1 files changed, 4 insertions, 0 deletions
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)