Skip to content

Commit

Permalink
Merge pull request #92 from crystal-lang-tools/keidax/extra-folds
Browse files Browse the repository at this point in the history
Add folds for multi-line data structures
  • Loading branch information
keidax authored Jan 7, 2025
2 parents 5dd1be3 + 80d9a89 commit bd70233
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions queries/nvim/folds.scm
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,12 @@
(when)
(while)
] @fold

[
(array)
(array_like)
(hash)
(hash_like)
(named_tuple)
(tuple)
] @fold

0 comments on commit bd70233

Please sign in to comment.