diff --git a/init.el b/init.el index 996e531..98da9fc 100644 --- a/init.el +++ b/init.el @@ -242,11 +242,15 @@ :hook prog-mode sly-mrepl-mode racket-repl-mode) (use-package highlight-indent-guides - :hook prog-mode + :hook (prog-mode . my-maybe-highlight-indent-guides) :custom (highlight-indent-guides-auto-enabled nil) (highlight-indent-guides-method 'character) - (highlight-indent-guides-responsive 'stack)) + :config + (defun my-maybe-highlight-indent-guides () + (interactive) + (unless (> (count-lines (point-min) (point-max)) 10000) + (highlight-indent-guides-mode)))) (use-package which-key :demand t