summary refs log tree commit diff
path: root/emacs.d/modules/module-flyspell.el
blob: 957e1df814c7dd99364809a68d3a4eadd02f9116 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(use-package ispell
  :config
  (setq ispell-program-name "aspell"
        ispell-list-command "--list"))

(use-package flyspell-correct-ivy
  :bind
  (:map flyspell-mode-map
        ("C-;" . flyspell-correct-previous-word-generic)))

(use-package flyspell
  :commands (spell-checking/change-dictionary)
  :init
  :config
  (add-hook 'text-mode-hook 'flyspell-mode)
  (add-hook 'prog-mode-hook 'flyspell-prog-mode))

(provide 'module-flyspell)