Fix load order bug in line wrapping

This commit is contained in:
Kiana Sheibani 2024-04-23 15:11:52 -04:00
parent 5d14990960
commit d9993e0d7d
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -1347,8 +1347,10 @@ When a buffer has line numbers, they can interfere with the margins and make the
#+begin_src emacs-lisp
(add-hook! display-line-numbers-mode
(setq-local visual-fill-column-extra-text-width '(0 . 6))
(visual-fill-column--adjust-window))
(require 'visual-fill-column)
(when visual-fill-column-mode
(setq-local visual-fill-column-extra-text-width '(0 . 6))
(visual-fill-column--adjust-window)))
#+end_src
** Dashboard