Activate spellchecking in text-modes and code comments

This commit is contained in:
Jeremy Dormitzer 2020-06-14 12:28:15 -04:00
parent 937a16a2a3
commit 3221fc9178

View File

@ -6089,11 +6089,14 @@ Spotify in Emacs!
(leader-def-key "iSp" #'counsel-spotify-previous)
#+END_SRC
* ISpell
* Flyspell
#+BEGIN_SRC emacs-lisp
(when (executable-find "hunspell")
(setq ispell-program-name "hunspell"
ispell-really-hunspell t))
ispell-really-hunspell t))
(add-hook 'text-mode-hook #'flyspell-mode)
(add-hook 'prog-mode-hook #'flyspell-prog-mode)
#+END_SRC
* VTerm