Move spellcheck config into platform configs
Linux requires less configuration and worked mostly out of the box
This commit is contained in:
21
config.el
21
config.el
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user