Update ispell config

This commit is contained in:
Marcus Kammer 2023-02-12 13:45:38 +01:00
parent 4d7b181599
commit 9181b3b95d

View file

@ -251,15 +251,14 @@
(use-package ispell
:ensure nil
:custom
;; On windows: Copy files from ~/.emacs.d/dicts/ to c:/msys64/mingw64/share/dict/ooo/
(ispell-dictionary "german,english")
(ispell-local-dictionary-alist
:config
;; On windows: Copy files from ~/.emacs.d/dicts/ to c:/msys64/mingw64/share/hunspell/
(setq ispell-dictionary "german,english")
(setq ispell-local-dictionary-alist
'(("german" "[[:alpha:]]" "[^[:alpha:]]" "[']" t ("-d" "de_DE_frami,de_AT_frami,de_CH_frami") nil utf-8)
("english" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "en_US,en_GB") nil utf-8)
("german,english" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "de_DE_frami,en_US") nil utf-8)))
(ispell-hunspell-dictionary-alist ispell-local-dictionary-alist)
:config
(setq ispell-hunspell-dictionary-alist ispell-local-dictionary-alist)
(if (eq system-type 'windows-nt)
(setq ispell-program-name "c:/msys64/mingw64/bin/hunspell.exe")
(setq ispell-program-name "hunspell")))