Update ispell config
This commit is contained in:
parent
4d7b181599
commit
9181b3b95d
1 changed files with 5 additions and 6 deletions
|
@ -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")))
|
||||
|
|
Loading…
Add table
Reference in a new issue