From d3565ccb096c97c0a284a4a827016fea2c8ab1e0 Mon Sep 17 00:00:00 2001 From: Abdelhak Bougouffa Date: Sun, 22 Oct 2023 15:06:27 +0200 Subject: [PATCH] fix(ts-fold): ensure enabling on `yaml-ts-mode` --- modules/me-prog.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/me-prog.el b/modules/me-prog.el index 0d99b00a..82e65f64 100644 --- a/modules/me-prog.el +++ b/modules/me-prog.el @@ -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