aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/highlights.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 329df4f14..0c7147b51 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -200,6 +200,8 @@
; doc-strings
(module
.
+ (comment)*
+ .
(expression_statement
(string) @string.documentation @spell))