summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-01-16 15:23:18 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-01-18 22:09:21 +0100
commit8025b90329a23da3ec8b076b7970c890ae407951 (patch)
tree3e6f2e43b02d0434e44f0de1e1d22dc03752d4ce
parenta3c86fe843b1056b3d02596711882719517a8f9f (diff)
highlights(swift): highlight `"->"` as `@operator`
-rw-r--r--queries/swift/highlights.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/queries/swift/highlights.scm b/queries/swift/highlights.scm
index e30618c7..3ce25f0a 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