branch: externals/indent-bars
commit 08fbce35de92526290b5f78c7acca89ef3de4f89
Author: JD Smith <[email protected]>
Commit: JD Smith <[email protected]>
Move treesitter setup above resize (which uses it)
---
indent-bars.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/indent-bars.el b/indent-bars.el
index 5195ef7a32..45a036aa68 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1324,13 +1324,13 @@ Adapted from `highlight-indentation-mode'."
;; Window state: selection/size
(add-hook 'window-state-change-functions #'indent-bars--window-change nil t)
+ ;; Treesitter
+ (if indent-bars-treesit-support (indent-bars-ts-setup)) ; autoloads
+
;; Resize
(add-hook 'text-scale-mode-hook #'indent-bars--resize-stipple nil t)
(indent-bars--resize-stipple) ; just in case
- ;; Treesitter
- (if indent-bars-treesit-support (indent-bars-ts-setup)) ; autoloads
-
;; Current depth
(when (indent-bars--style 'any "highlight-current-depth")
(add-hook 'post-command-hook