Skip to content

Commit 83f558e

Browse files
committed
disabled document wide iteration scopes, as for some reason they're broken (potentially an issue with tree-sitter-swift?)
this is the source of what I thought might be an engine issue in the previous commit
1 parent cb8d2b0 commit 83f558e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎resources/queries/swift.scm‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
;; https://github.com/alex-pinkus/tree-sitter-swift/blob/with-generated-files/src/grammar.json
22

3-
;; document-wide
4-
(
5-
(source_file) @class.iteration @statement.iteration @name.iteration @value.iteration @type.iteration
6-
(#document-range! @class.iteration @statement.iteration @name.iteration @value.iteration @type.iteration)
7-
)
3+
;; document-wide -- seems like there might be a problem with tree-sitter-swift that causes this to not work correctly?
4+
;;(
5+
;; (source_file) @class.iteration @statement.iteration @name.iteration @value.iteration @type.iteration
6+
;; (#document-range! @class.iteration @statement.iteration @name.iteration @value.iteration @type.iteration)
7+
;;)
88

99
;; single line comment
1010
(comment) @comment @textFragment

0 commit comments

Comments
 (0)