summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-07-22 21:15:56 -0500
committerCase Duckworth2021-07-22 21:15:56 -0500
commit8f17afeae4d22ed506f820c35e2007a2dbd47843 (patch)
treeacbc8c2b5a01caf868cf7e46b7ae4f6517515ed8
parentConfigure ERC further (diff)
downloademacs-8f17afeae4d22ed506f820c35e2007a2dbd47843.tar.gz
emacs-8f17afeae4d22ed506f820c35e2007a2dbd47843.zip
Better configure ispell/hunspell
-rw-r--r--init.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/init.el b/init.el index 00604d0..98b64ab 100644 --- a/init.el +++ b/init.el
@@ -422,7 +422,14 @@ like a dumbass."
422(setup flyspell 422(setup flyspell
423 (setq-default ispell-program-name "hunspell" 423 (setq-default ispell-program-name "hunspell"
424 ispell-dictionary "en_US" 424 ispell-dictionary "en_US"
425 ispell-personal-dictionary "~/.hunspell_personal") 425 ispell-personal-dictionary "~/.hunspell_personal"
426 ispell-local-dictionary-alist '(("en_US"
427 "[[:alpha:]]" "[^[:alpha:]]"
428 "[']" nil
429 ("-d" "en_US") nil utf-8)))
430 (when (boundp 'ispell-hunspell-dictionary-alist)
431 (setq-default
432 ispell-hunspell-dictionary-alist ispell-local-dictionary-alist))
426 (:needs ispell-program-name) ; don't proceed if not installed 433 (:needs ispell-program-name) ; don't proceed if not installed
427 434
428 (unless (file-exists-p ispell-personal-dictionary) 435 (unless (file-exists-p ispell-personal-dictionary)