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 ]; }