Skip to content

Commit

Permalink
feat: more Swift highlight additions
Browse files Browse the repository at this point in the history
  • Loading branch information
nik-rev committed Jan 5, 2025
1 parent b5ffdee commit 07ed5eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime/queries/swift/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@
(#match? @type "^[A-Z]"))
(call_expression (simple_identifier) @keyword (#eq? @keyword "defer")) ; defer { ... }

(navigation_suffix
(simple_identifier) @variable.other.member)

(try_operator) @operator
(try_operator ["try" @keyword])

Expand Down Expand Up @@ -161,6 +164,7 @@
"?"
"+"
"-"
"\\"
"*"
"/"
"%"
Expand Down

0 comments on commit 07ed5eb

Please sign in to comment.