summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorDominik Kaiser2025-02-11 12:39:07 +0100
committerDominik Kaiser2025-02-11 12:39:07 +0100
commit188049cc57244b129292f4926b244a60607ae103 (patch)
treec5fb46a89356fad80a5f9da00101169feef096b5 /init.el
parenta2d8db7e9f7b885bcd678d47f5dd8a4a8b6bc6d5 (diff)
downloademacs-188049cc57244b129292f4926b244a60607ae103.tar.gz
emacs-188049cc57244b129292f4926b244a60607ae103.zip
Setup olivetti hooks on init
When using it in config, it wasn't working correctly.
Diffstat (limited to 'init.el')
-rw-r--r--init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.el b/init.el
index 07ebe47..e224bb0 100644
--- a/init.el
+++ b/init.el
@@ -39,7 +39,7 @@
(use-package olivetti
:bind ("C-c f" . olivetti-mode)
- :config
+ :init
(setq-default olivetti-body-width 100)
(add-hook 'org-mode-hook #'olivetti-mode)
(add-hook 'text-mode-hook #'olivetti-mode))