Activate spellchecking in text-modes and code comments
This commit is contained in:
parent
937a16a2a3
commit
3221fc9178
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user