mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
ui/indent-guides: don't omit first level of guides
This commit is contained in:
@ -7,12 +7,6 @@
|
|||||||
:config
|
:config
|
||||||
(add-hook 'focus-in-hook #'highlight-indent-guides-auto-set-faces)
|
(add-hook 'focus-in-hook #'highlight-indent-guides-auto-set-faces)
|
||||||
|
|
||||||
;; Don't display first level of indentation
|
|
||||||
(defun +indent-guides-for-all-but-first-column (level responsive display)
|
|
||||||
(unless (< level 1)
|
|
||||||
(highlight-indent-guides--highlighter-default level responsive display)))
|
|
||||||
(setq highlight-indent-guides-highlighter-function #'+indent-guides-for-all-but-first-column)
|
|
||||||
|
|
||||||
(defun +indent-guides|disable-maybe ()
|
(defun +indent-guides|disable-maybe ()
|
||||||
(when highlight-indent-guides-mode
|
(when highlight-indent-guides-mode
|
||||||
(highlight-indent-guides-mode -1)))
|
(highlight-indent-guides-mode -1)))
|
||||||
|
Reference in New Issue
Block a user