summary refs log tree commit diff
path: root/emacs.d/config
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/config')
-rw-r--r--emacs.d/config/fcuny-editor.el8
-rw-r--r--emacs.d/config/fcuny-flyspell.el9
-rw-r--r--emacs.d/config/fcuny-spell.el19
3 files changed, 19 insertions, 17 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)