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.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 9e0ff2dca..d8dcf0266 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -156,6 +156,7 @@
"is"
"not"
"or"
+ "->"
] @operator
; Keywords
@@ -194,7 +195,7 @@
"{" @punctuation.special
"}" @punctuation.special) @embedded
-[ "," "." ":" ] @punctuation.delimiter
+[ "," "." ":" (ellipsis) ] @punctuation.delimiter
; Class definitions