summary refs log tree commit diff
path: root/emacs.d/modules/module-flyspell.el
blob: e95ab1e84056a934b598428ad8c13973a9e192b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(require 'config-package)

(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)