Move spellcheck config into platform configs

Linux requires less configuration and worked mostly out of the box
This commit is contained in:
Emma Turner
2026-05-23 21:16:11 -06:00
parent e8c5158000
commit 5eabc38e3c
3 changed files with 30 additions and 21 deletions

View File

@@ -102,27 +102,6 @@
(setq org-refile-targets
'((nil :maxlevel . 3) (org-agenda-files :maxlevel . 1))))
;; TODO: Find out what _actually_ needs to be set here
;; i.e. shouldn't need to set both ispell-dictionary and ispell-local-dictionary
(after!
ispell
(setq ispell-dictionary "en_US")
(setq ispell-local-dictionary "en_US")
(setq ispell-extra-args '("-d" "en_US"))
(setq ispell-local-dictionary-alist
'(("en_US" "[A-Za-z]" "[^A-Za-z]" "[']" nil nil nil utf-8)))
(setq ispell-hunspell-dictionary-alist
'(("en_US"
"C:/hunspell/en_US.aff"
"C:/hunspell/en_US.dic"
nil
nil
nil
"utf-8")))
;; This is the default hunspell personal dictionary
;; Hunspell won't create it, and ispell needs this file specified to work
(setq ispell-personal-dictionary "~/.hunspell_en_US"))
(use-package!
elisp-autofmt
:commands (elisp-autofmt-mode elisp-autofmt-buffer)