Add indent guides
This commit is contained in:
parent
4392ad0a18
commit
629baa89b3
10
init.el
10
init.el
@ -25,6 +25,16 @@
|
||||
(global-set-key (kbd "C-c <up>") '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.
|
||||
|
Loading…
Reference in New Issue
Block a user