diff options
-rw-r--r-- | emacs.d/config/fcuny-editor.el | 8 | ||||
-rw-r--r-- | emacs.d/config/fcuny-flyspell.el | 9 | ||||
-rw-r--r-- | emacs.d/config/fcuny-spell.el | 19 | ||||
-rw-r--r-- | emacs.d/init.el | 2 |
4 files changed, 20 insertions, 18 deletions
diff --git a/emacs.d/config/fcuny-editor.el b/emacs.d/config/fcuny-editor.el index 75baa4f..d4dedc5 100644 --- a/emacs.d/config/fcuny-editor.el +++ b/emacs.d/config/fcuny-editor.el @@ -44,12 +44,4 @@ (show-trailing-whitespace t) :hook (whitespace-mode)) -(use-package ispell - :ensure t - :config - (use-package flyspell-correct-ivy :ensure t) - (when (executable-find "aspell") - (setq ispell-program-name "aspell" - ispell-list-command "--list"))) - (provide 'fcuny-editor) diff --git a/emacs.d/config/fcuny-flyspell.el b/emacs.d/config/fcuny-flyspell.el deleted file mode 100644 index fe26768..0000000 --- a/emacs.d/config/fcuny-flyspell.el +++ /dev/null @@ -1,9 +0,0 @@ -(eval-when-compile - (require 'use-package)) - -(use-package flyspell - :ensure t - :hook ((text-mode-hook . flyspell-mode) - (prog-mode-hook . flyspell-prog-mode))) - -(provide 'fcuny-flyspell) 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) diff --git a/emacs.d/init.el b/emacs.d/init.el index 572ad53..f6989df 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -33,6 +33,7 @@ (use-package fcuny-darwin) (use-package fcuny-editor) +(use-package fcuny-spell) (use-package fcuny-paren) (use-package fcuny-ibuffer) (use-package fcuny-dired) @@ -41,7 +42,6 @@ (use-package fcuny-company) (use-package fcuny-magit) (use-package fcuny-pants) -(use-package fcuny-flyspell) (use-package fcuny-elisp) (use-package fcuny-go) |