diff --git a/init.el b/init.el index a00bd93..5c520a8 100644 --- a/init.el +++ b/init.el @@ -25,6 +25,16 @@ (global-set-key (kbd "C-c ") 'mc/mark-previous-like-this) ) +(use-package highlight-indent-guides + :ensure t + :hook ((prog-mode . highlight-indent-guides-mode) ; Enable in programming modes + (treemacs-mode . (lambda () (highlight-indent-guides-mode -1)))) ; Disable in Treemacs + :config + (setq highlight-indent-guides-method 'character) ; Choose method: 'character', 'fill', or 'column' + (setq highlight-indent-guides-auto-enabled t) + (setq highlight-indent-guides-responsive 'top) + (setq highlight-indent-guides-character ?\|)) ; Character to display as indent guide + (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.