From 187dc8e3f55c2eddcb9fd3d89e6bae4eece17aa9 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Fri, 14 Aug 2020 12:57:18 +0200 Subject: Python highlights: Highlight ->, ... --- queries/python/highlights.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'queries/python') 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 -- cgit v1.2.3-70-g09d2