Make flyspell config a bit more simple
This commit is contained in:
parent
2f8b03fa02
commit
8aaf8b3c1b
6
init.el
6
init.el
@ -580,11 +580,9 @@
|
|||||||
(use-package flyspell
|
(use-package flyspell
|
||||||
:config
|
:config
|
||||||
(add-hook 'prog-mode-hook
|
(add-hook 'prog-mode-hook
|
||||||
(lambda ()
|
'flyspell-prog-mode)
|
||||||
(flyspell-prog-mode)))
|
|
||||||
(add-hook 'text-mode-hook
|
(add-hook 'text-mode-hook
|
||||||
(lambda ()
|
'flyspell-mode))
|
||||||
(flyspell-mode 1))))
|
|
||||||
|
|
||||||
(use-package helm-descbinds)
|
(use-package helm-descbinds)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user