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

;; check the spelling
(use-package flyspell
  :init
  (use-package ispell
    :ensure t
    :config
    (setq ispell-program-name "aspell"
          ispell-list-command "--list"))
  (use-package flyspell-popup
    :ensure t
    :bind ("C-:" . flyspell-popup-correct))
  :config
  (add-hook 'text-mode-hook 'flyspell-mode))

(provide 'module-flyspell)