Switch to ELPA version of indent-bars

This commit is contained in:
Adam Goldsmith 2024-11-07 12:18:01 -05:00
parent 1d52664a07
commit 5eb67dc26e

View File

@ -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