summary refs log tree commit diff
path: root/emacs.d/inits/50_flyspell.el
blob: 14887e88eafe96156847be835a108998a9c43c6a (plain) (blame)
1
2
3
4
5
6
7
8
9
(use-package flyspell
  :ensure t
  :defer 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)))