From 346fc1b06049e8e2366778970d8b2fd84cf41f58 Mon Sep 17 00:00:00 2001 From: LLoyderino Date: Mon, 8 Sep 2025 14:31:42 +0200 Subject: Added spell checking --- init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.el b/init.el index 39333c9..ef02e4f 100644 --- a/init.el +++ b/init.el @@ -44,6 +44,11 @@ (global-set-key (kbd "M-\\") #'just-one-space) ; Leave one space instead of killing all +;; Spellcheck +(setq ispell-program-name "aspell") +(add-hook 'text-mode-hook 'flyspell-mode) +(add-hook 'prog-mode-hook 'flyspell-prog-mode) + ;; Multiple-cursors (use-package multiple-cursors :bind -- cgit v1.3.1