Define ispell package

This commit is contained in:
Marcus Kammer 2023-02-11 18:40:28 +01:00
parent 1ce0e7da59
commit f1ac6d9667
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -249,6 +249,21 @@
(use-package nim-mode
:mode "\\.nim\\'")
(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
'(("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
(if (eq system-type 'windows-nt)
(setq ispell-program-name "c:/msys64/mingw64/bin/hunspell.exe")
(setq ispell-program-name "hunspell")))
(require 'ido)
(ido-mode t)