From 188049cc57244b129292f4926b244a60607ae103 Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Tue, 11 Feb 2025 12:39:07 +0100 Subject: Setup olivetti hooks on init When using it in config, it wasn't working correctly. --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.el') 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)) -- cgit v1.2.3