summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLLoyderino <adrijan.bjedov@gmail.com>2025-09-08 14:31:42 +0200
committerLLoyderino <adrijan.bjedov@gmail.com>2025-09-08 14:35:10 +0200
commit346fc1b06049e8e2366778970d8b2fd84cf41f58 (patch)
tree6b28c9b0e6e786349fb63f1c55ddad595b519621
parent10b56a188ec432c150104a6e46b9496c95c4f526 (diff)
Added spell checking
-rw-r--r--init.el5
1 files changed, 5 insertions, 0 deletions
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