summary refs log tree commit diff
path: root/emacs.d/core/core-flyspell.el
blob: 551c59b8d76b972fe04d250634dd8ca927655951 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
(use-package flyspell
  :ensure t
  :init
  (progn
    (setq ispell-program-name "aspell"
          ispell-list-command "--list")
    (add-hook 'prog-mode-hook 'flyspell-prog-mode)
    (add-hook 'text-mode-hook 'turn-on-flyspell)
    (add-hook 'org-mode-hook 'turn-on-flyspell)))

(provide 'core-flyspell)