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