mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
ui/indent-guides: set variables sooner
So you don't need after! to change them.
This commit is contained in:
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
(def-package! highlight-indent-guides
|
(def-package! highlight-indent-guides
|
||||||
:hook ((prog-mode text-mode conf-mode) . highlight-indent-guides-mode)
|
:hook ((prog-mode text-mode conf-mode) . highlight-indent-guides-mode)
|
||||||
:config
|
:init
|
||||||
(setq highlight-indent-guides-method 'character
|
(setq highlight-indent-guides-method 'character
|
||||||
highlight-indent-guides-responsive 'top)
|
highlight-indent-guides-responsive 'top)
|
||||||
|
:config
|
||||||
;; Don't display first level of indentation
|
;; Don't display first level of indentation
|
||||||
(defun +indent-guides-for-all-but-first-column (level responsive display)
|
(defun +indent-guides-for-all-but-first-column (level responsive display)
|
||||||
(unless (< level 1)
|
(unless (< level 1)
|
||||||
|
Reference in New Issue
Block a user