We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea554f1 commit 5a94124Copy full SHA for 5a94124
ts-fold-indicators.el
@@ -109,7 +109,8 @@
109
(if (ts-fold-mode 1) ; Enable `ts-fold-mode' automatically
110
(progn
111
(add-hook 'tree-sitter-after-change-functions #'ts-fold-indicators-refresh nil t)
112
- (add-hook 'after-save-hook #'ts-fold-indicators-refresh nil t))
+ (add-hook 'after-save-hook #'ts-fold-indicators-refresh nil t)
113
+ (ignore-errors (ts-fold-indicators-refresh)))
114
(ts-fold-indicators-mode -1)))
115
116
(defun ts-fold-indicators--disable ()
0 commit comments