Skip to content

Commit

Permalink
deinit_declaration is its own node.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickt authored and alex-pinkus committed Mar 8, 2024
1 parent eeba445 commit 7e5b912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions queries/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

(function_declaration (simple_identifier) @method)
(function_declaration ["init" @constructor])
(function_declaration ["deinit" @constructor])
(deinit_declaration ["deinit" @constructor])
(throws) @keyword
"async" @keyword
"await" @keyword
Expand All @@ -45,7 +45,7 @@
"override"
"convenience"
"required"
"mutating"
"mutating"
"associatedtype"
] @keyword

Expand Down

0 comments on commit 7e5b912

Please sign in to comment.