diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-16 15:23:18 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-18 22:09:21 +0100 |
| commit | 8025b90329a23da3ec8b076b7970c890ae407951 (patch) | |
| tree | 3e6f2e43b02d0434e44f0de1e1d22dc03752d4ce /queries | |
| parent | a3c86fe843b1056b3d02596711882719517a8f9f (diff) | |
highlights(swift): highlight `"->"` as `@operator`
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/swift/highlights.scm | 3 |
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 |
