From 5eb67dc26efc61b4eb1a6303e1a89d38934d0690 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 7 Nov 2024 12:18:01 -0500 Subject: [PATCH] Switch to ELPA version of indent-bars --- .emacs.d/init.el | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index f2aebd4..afb51ba 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -662,8 +662,7 @@ :config (setq lsp-java-save-action-organize-imports nil))) -(use-package indent-bars - :vc (:fetcher github :repo jdtsmith/indent-bars) +(use-package indent-bars :ensure :custom (indent-bars-treesit-support t) (indent-bars-treesit-ignore-blank-lines-types '("module")) @@ -675,14 +674,7 @@ (indent-bars-pattern ".") (indent-bars-width-frac 0.2) (indent-bars-highlight-current-depth '(:blend 0.5)) - :hook ((python-base-mode yaml-base yaml-ts-mode) . indent-bars-mode) - :config - (advice-add - 'indent-bars--guess-spacing :around - (lambda (oldfun) - (if (and (derived-mode-p 'python-base-mode) (boundp 'python-indent-offset)) - python-indent-offset - (oldfun))))) + :hook ((python-base-mode yaml-base yaml-ts-mode) . indent-bars-mode)) (use-package editorconfig :ensure t :demand :delight