mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36:14 +01:00
Add Visual Fill Column to Emacs
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
e8a2007a29
commit
45511fabf2
15
emacs-lisp/visual_fill_column.org
Normal file
15
emacs-lisp/visual_fill_column.org
Normal 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
|
||||
|
Loading…
Reference in a new issue