From 943361757c8757b6a8499411201c4575038be4a2 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Mon, 13 Feb 2023 16:42:18 -0800 Subject: [PATCH] emacs: configure spellchecking --- modules/emacs/.doom.d/init.el | 3 +++ modules/emacs/default.nix | 2 ++ 2 files changed, 5 insertions(+) diff --git a/modules/emacs/.doom.d/init.el b/modules/emacs/.doom.d/init.el index b226348..b9023bc 100644 --- a/modules/emacs/.doom.d/init.el +++ b/modules/emacs/.doom.d/init.el @@ -208,6 +208,9 @@ (add-hook 'org-mode-hook 'org-fragtog-mode) ;; automatically expand/preview LaTeX (add-hook 'org-mode-hook 'org-latex-preview) ;; automatically preview LaTeX on open +;; Enable spellcheck in org mode +(add-hook 'org-mode-hook 'turn-on-flyspell) + ;; Display .rasi (rofi theme files) as CSS (add-to-list 'auto-mode-alist '("\\.rasi\\'" . css-mode)) diff --git a/modules/emacs/default.nix b/modules/emacs/default.nix index 6bdb57d..844fccb 100644 --- a/modules/emacs/default.nix +++ b/modules/emacs/default.nix @@ -25,5 +25,7 @@ # Doom Emacs fonts, manually installed with # M-x all-the-icons-install-fonts emacs-all-the-icons-fonts + # Spellcheck + ispell ]; }