Enable treesit folding in regular yaml-mode
This commit is contained in:
parent
a544811fae
commit
a9ea6b4b2f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user