Files
emacs.d/site-start.d/107-flyspell.el
Ralf Zerres 670e60949a 107-flyspell: highlights incorrect words
* use package flyspell
  ispell -> aspell

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2020-06-24 01:44:19 +02:00

22 lines
521 B
EmacsLisp

;;; 107-flyspell.el --- on-the-fly spell checking
;;; Commentary:
Flyspell highlights incorrect words as soon as they are completed
or as soon as the TextCursor hits a new word.
;;; Code:
(use-package flyspell
:bind (("C-`" . ispell-word)
("C-~" . ispell-buffer))
:init
(dolist (hook '(text-mode-hook org-mode-hook))
(add-hook hook (lambda () (flyspell-mode 1))))
:config
(setq ispell-program-name "aspell"
ispell-list-command "--list"))
(provide '107-flyspell)
;; End:
;;; 107-flyspell.el ends here