diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-02-12 20:58:37 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-02-12 20:58:37 -0800 |
commit | 5f2b301a8df5410962519d2b7e9a977b03e75977 (patch) | |
tree | da73920a1109c0820cdf3a3e2902087c95f3b3a7 /emacs.d/core/core-flyspell.el | |
parent | [emacs] Move some packages to a new config file. (diff) | |
download | emacs.d-5f2b301a8df5410962519d2b7e9a977b03e75977.tar.gz |
[emacs] Split the config into 'core' and 'modes'.
Separate the modules that are 'core' (e.g.: related to editing, manipulating text, and so on) and the 'modes' (e.g.: related to syntax, langage support, etc).
Diffstat (limited to 'emacs.d/core/core-flyspell.el')
-rw-r--r-- | emacs.d/core/core-flyspell.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs.d/core/core-flyspell.el b/emacs.d/core/core-flyspell.el new file mode 100644 index 0000000..7c61b49 --- /dev/null +++ b/emacs.d/core/core-flyspell.el @@ -0,0 +1,11 @@ +(use-package flyspell + :ensure t + :defer t + :init + (progn + (setq ispell-program-name "aspell" + ispell-list-command "--list") + (add-hook 'prog-mode-hook 'flyspell-prog-mode) + (add-hook 'text-mode-hook 'turn-on-flyspell))) + +(provide 'core-flyspell) |