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 5e2c4de66..f14e29f23 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -141,6 +141,7 @@
(float) @float
(comment) @comment
+(comment) @spell
(string) @string
[
(escape_sequence)
@@ -148,6 +149,9 @@
"}}"
] @string.escape
+; doc-strings
+(expression_statement (string) @spell)
+
; Tokens
[