diff options
Diffstat (limited to '')
-rw-r--r-- | emacs.d/config/fcuny-spell.el | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/emacs.d/config/fcuny-spell.el b/emacs.d/config/fcuny-spell.el new file mode 100644 index 0000000..a6c2980 --- /dev/null +++ b/emacs.d/config/fcuny-spell.el @@ -0,0 +1,19 @@ +(eval-when-compile + (require 'use-package)) + +(use-package ispell + :ensure t + :config + (when (executable-find "aspell") + (setq ispell-program-name "aspell" + ispell-list-command "--list"))) + +(use-package flyspell-correct + :ensure t) + +(use-package flyspell + :ensure t + :hook ((text-mode-hook . flyspell-mode) + (prog-mode-hook . flyspell-prog-mode))) + +(provide 'fcuny-spell) |