Add Visual Fill Column to Emacs

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2023-11-03 20:25:42 +01:00
parent e8a2007a29
commit 45511fabf2
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -0,0 +1,15 @@
:PROPERTIES:
:header-args:emacs-lisp: :comments link :results none
:ID: 3d52b0b7-2d91-48b4-88b6-a497b1471617
:END:
#+title: Visual Fill Column
#+filetags: emacs-load
#+begin_src emacs-lisp
(use-package visual-fill-column
:straight t
:config
(advice-add 'text-scale-adjust :after #'visual-fill-column-adjust)
(advice-add 'text-scale-decrease :after #'visual-fill-column-adjust)
(advice-add 'text-scale-increase :after #'visual-fill-column-adjust))
#+end_src