set indent-guide-mode off by default, b/c too slow

This commit is contained in:
2025-06-06 12:52:43 +02:00
parent 14dcaaddde
commit d6f64e66ea

View File

@@ -391,14 +391,17 @@ See also `dashboard-insert-section' for the sequence of elements."
;; activate `dashboard' ;; activate `dashboard'
(dashboard-setup-startup-hook)) (dashboard-setup-startup-hook))
;; too slow if all levels are displayed for a medium large file,
;; therefore not all levels and if toggled on and mode default off
(use-package indent-guide (use-package indent-guide
:delight (indent-guide-mode "Ig") ;; "\u24BE\uFF47" :delight (indent-guide-mode "Ig") ;; "\u24BE\uFF47"
:hook (prog-mode . indent-guide-mode) ;; problem if used in notmuch ;;:hook (prog-mode . indent-guide-mode) ;; problem if used in notmuch
:config :config
(set-face-attribute 'indent-guide-face nil :foreground "DarkSlateGray") ;; foreground #535353 (set-face-attribute 'indent-guide-face nil :foreground "DarkSlateGray") ;; foreground #535353
;;(setq indent-guide-char ":") ;;(setq indent-guide-char ":")
(setq indent-guide-char "\u2502") (setq indent-guide-char "\u2502")
(setq indent-guide-recursive t) ;; NOT RECOMMENDED: To show not only one guide line but all guide lines recursively, set indent-guide-recursive non-nil. (setq indent-guide-recursive nil) ;; NOT RECOMMENDED: To show not only one guide line but all guide lines recursively, set indent-guide-recursive non-nil.
;; `nil`: only single level, `t`: all levels
) )
;; problem when using 'character in elisp it inserts the guide characters when inserting text before guide characters ;; problem when using 'character in elisp it inserts the guide characters when inserting text before guide characters