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