Open tomoya opened 6 months ago
global-ts-fold-indicators-mode
is probably going to be deprecated. (add-hook 'tree-sitter-after-on-hook #'ts-fold-indicators-mode)
is the correct way to configure this package.
Thanks for your comment.
This documentation seemed to favor (global-ts-fold-indicators-mode 1)
for me.
So maybe the documentation needs to be updated?
Yeah, the document will need to be updated.
My emacs got an error due to updated ts-fold package a few days ago.
This error has occurred
(global-ts-fold-indicators-mode 1)
configuration. When I tried changing it to(add-hook 'tree-sitter-after-on-hook #'ts-fold-indicators-mode)
, the error disappeared.P.S. ts-fold is a very nice package for me, Thank you.