Enable treesit folding in regular yaml-mode

This commit is contained in:
jdormit 2024-05-05 20:36:28 -04:00
parent a544811fae
commit a9ea6b4b2f

View File

@ -84,7 +84,8 @@
(list start end offset child-nodes)))))))
(with-eval-after-load 'origami
(add-to-list 'origami-parser-alist '(yaml-ts-mode . origami-yaml-treesit-parser)))
(add-to-list 'origami-parser-alist '(yaml-ts-mode . origami-yaml-treesit-parser))
(add-to-list 'origami-parser-alist '(yaml-mode . origami-yaml-treesit-parser)))
(provide 'origami-treesit)
;;; origami-treesit.el ends here