ui/indent-guides: don't omit first level of guides
This commit is contained in:
parent
a583d69ae1
commit
6dcbaef570
1 changed files with 0 additions and 6 deletions
|
@ -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)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue