Skip to content

Commit

Permalink
fix(ts-fold): ensure enabling on yaml-ts-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 22, 2023
1 parent 6f014c8 commit d3565cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/me-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
(use-package ts-fold
:straight (:host github :repo "abougouffa/ts-fold" :branch "andrew-sw/treesit-el-support")
:when (+emacs-features-p 'tree-sitter)
;; TEMP: Normally, we don't have to hook it explicitly, but it seems that
;; `global-ts-fold-mode' isn't working correctly on `yaml-ts-mode'
:hook (yaml-ts-mode . ts-fold-mode)
:after treesit treesit-auto
:demand t
:init
Expand Down

0 comments on commit d3565cc

Please sign in to comment.