Don't disable indent-guides in visual-line-mode

This commit is contained in:
Henrik Lissner 2020-01-20 01:52:21 -05:00
parent 4eec1141c1
commit bf85a03f5e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -7,7 +7,7 @@
:config :config
(add-hook 'focus-in-hook #'highlight-indent-guides-auto-set-faces) (add-hook 'focus-in-hook #'highlight-indent-guides-auto-set-faces)
;; `highlight-indent-guides' breaks in these modes ;; `highlight-indent-guides' breaks in these modes
(add-hook! '(visual-line-mode-hook org-indent-mode-hook) (add-hook! 'org-indent-mode-hook
(defun +indent-guides-disable-maybe-h () (defun +indent-guides-disable-maybe-h ()
(when highlight-indent-guides-mode (when highlight-indent-guides-mode
(highlight-indent-guides-mode -1))))) (highlight-indent-guides-mode -1)))))