about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.el b/init.el index 62d46f8..5cd1c8d 100644 --- a/init.el +++ b/init.el
@@ -1741,6 +1741,17 @@ browser defined in `browse-url-secondary-browser-function'."
1741 indicate-buffer-boundaries nil) 1741 indicate-buffer-boundaries nil)
1742 (acdw/setup-fringes))))) 1742 (acdw/setup-fringes)))))
1743 1743
1744(setup (:straight visual-fill-column)
1745 (:option visual-fill-column-width (+ fill-column 4)
1746 visual-fill-column-center-text t
1747 (append reading-modes) '(visual-fill-column-mode . +1))
1748 (:hook (defun visual-fill-column@setup ()
1749 (if visual-fill-column-mode
1750 (setq-local indicate-empty-lines nil
1751 indicate-buffer-boundaries nil)
1752 (acdw/setup-fringes))))
1753 (:advise text-scale-adjust :after #'visual-fill-column-adjust))
1754
1744(setup (:straight (orderless 1755(setup (:straight (orderless
1745 :host github 1756 :host github
1746 :repo "oantolin/orderless")) 1757 :repo "oantolin/orderless"))