Define ispell package
This commit is contained in:
parent
1ce0e7da59
commit
f1ac6d9667
1 changed files with 15 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue