From 8025b90329a23da3ec8b076b7970c890ae407951 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Sun, 16 Jan 2022 15:23:18 +0100 Subject: [PATCH] highlights(swift): highlight `"->"` as `@operator` --- queries/swift/highlights.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/queries/swift/highlights.scm b/queries/swift/highlights.scm index e30618c74..3ce25f0ab 100644 --- a/queries/swift/highlights.scm +++ b/queries/swift/highlights.scm @@ -1,4 +1,4 @@ -[ "." ";" ":" "," "->" ] @punctuation.delimiter +[ "." ";" ":" "," ] @punctuation.delimiter [ "\\(" "(" ")" "[" "]" "{" "}"] @punctuation.bracket ; TODO: "\\(" ")" in interpolations should be @punctuation.special ; Identifiers @@ -130,4 +130,5 @@ "!=" "!==" "===" + "->" ] @operator