From d63c58b12e70728e34f9305b5d4f977700542fcc Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 10 Jan 2024 01:53:08 -0500 Subject: [PATCH] Replace "highlight-indent-guides" with "indent-bars" --- .emacs.d/init.el | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 436445b..2816edb 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -657,10 +657,17 @@ :config (setq lsp-java-save-action-organize-imports nil))) -(use-package highlight-indent-guides :ensure - :delight - :config - :hook (prog-mode . highlight-indent-guides-mode)) +(use-package indent-bars + :quelpa (indent-bars :fetcher github :repo "jdtsmith/indent-bars") + :custom + (indent-bars-treesit-support t) + (indent-bars-no-descend-string t) + (indent-bars-treesit-ignore-blank-lines-types '("module")) + (indent-bars-treesit-wrap '((python argument_list parameters ; for python, as an example + list list_comprehension + dictionary dictionary_comprehension + parenthesized_expression subscript))) + :hook ((python-base-mode yaml-mode) . indent-bars-mode)) (use-package editorconfig :ensure t :demand :delight