branch: externals/indent-bars
commit ffaaae3d42ca45427486fb178c0089a3ef5579d9
Author: JD Smith <[email protected]>
Commit: JD Smith <[email protected]>
Remove styles on reset so that are recomputed
Normally we don't need to alter styles once they are set, but on
explicit reset we should, so remove them.
---
indent-bars.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/indent-bars.el b/indent-bars.el
index 6452a7ef82..0201e9b902 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1490,6 +1490,7 @@ Adapted from `highlight-indentation-mode'."
(defun indent-bars-reset (&rest _r)
"Reset indent-bars config."
(interactive)
+ (setq indent-bars-style nil indent-bars--styles nil)
(indent-bars-teardown)
(indent-bars-setup))