Skip to content

Commit

Permalink
feat: Enhance the Gleam support (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
akirak authored Jun 25, 2024
1 parent 675e5e7 commit 14e3f13
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions treesit-fold-parsers.el
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,11 @@

(defun treesit-fold-parsers-gleam ()
"Rules set for Gleam."
'((function . treesit-fold-range-gleam)
(type_definition . treesit-fold-range-gleam)
'((function . treesit-fold-range-gleam)
(type_definition . treesit-fold-range-gleam)
(anonymous_function . treesit-fold-range-gleam)
(block . treesit-fold-range-gleam)
(list . treesit-fold-range-seq)
(module_comment
. (lambda (node offset)
(treesit-fold-range-line-comment node offset "////")))
Expand Down

0 comments on commit 14e3f13

Please sign in to comment.