-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: call treesit-fold-mode only when treesit-fold-ready-p If `treesit-fold-ready-p` is false, `(treesit-fold-mode -1)` will get an error since it will call `treesit-fold-open-all`. * fix: Ignore errors for the filter when indicators refresh When the buffer is being edited, the node might change and become invalid which will cause errors. And these errors should be ignored or they will infect other post command hooks.
- Loading branch information
1 parent
14e3f13
commit 41c13ff
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters