From 96a50241987531fdb8a516998b72c19f563ccd6c Mon Sep 17 00:00:00 2001 From: Alex Pinkus <62194897+alex-pinkus@users.noreply.github.com> Date: Sun, 10 Sep 2023 10:38:36 -0700 Subject: feat(swift): update parser and queries Co-authored-by: Alex Pinkus --- lockfile.json | 2 +- queries/swift/highlights.scm | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lockfile.json b/lockfile.json index 89f215c27..a238ef7c5 100644 --- a/lockfile.json +++ b/lockfile.json @@ -546,7 +546,7 @@ "revision": "697bb515471871e85ff799ea57a76298a71a9cca" }, "swift": { - "revision": "29541ac9bbe2090de75d0b1e70360b85bbda1fef" + "revision": "10eb01d29827f24b1271672e89790661d94da9e1" }, "sxhkdrc": { "revision": "440d5f913d9465c9c776a1bd92334d32febcf065" diff --git a/queries/swift/highlights.scm b/queries/swift/highlights.scm index b279d026f..a73a69356 100644 --- a/queries/swift/highlights.scm +++ b/queries/swift/highlights.scm @@ -63,7 +63,7 @@ (navigation_expression (navigation_suffix (simple_identifier) @property)) (value_argument - name: (simple_identifier) @property) + name: (value_argument_label) @property) (import_declaration ["import" @include]) @@ -186,3 +186,4 @@ "..." (bang) ] @operator + -- cgit v1.2.3-70-g09d2