summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--configs/rcs/emacs.d/init.el25
1 files changed, 13 insertions, 12 deletions
diff --git a/configs/rcs/emacs.d/init.el b/configs/rcs/emacs.d/init.el
index e4cba30..d0dc736 100644
--- a/configs/rcs/emacs.d/init.el
+++ b/configs/rcs/emacs.d/init.el
@@ -191,20 +191,21 @@
          (prog-mode . flyspell-prog-mode))
   :config
   (setq ispell-dictionary "en_US")
+
   (when (executable-find "aspell")
     (setq ispell-program-name "aspell"
-          ispell-list-command "--list")))
-
-(use-package flyspell-correct
-  :after (flyspell)
-  :commands (flyspell-correct-word-generic
-	     flyspell-correct-previous-word-generic)
-  :bind (:map flyspell-mode-map
-	      ("C-;" . flyspell-correct-previous-word-generic)))
-
-(use-package flyspell-correct-ivy
-  :commands (flyspell-correct-ivy)
-  :init (setq flyspell-correct-interface #'flyspell-correct-ivy))
+          ispell-list-command "--list"))
+
+  (use-package flyspell-correct
+    :after (flyspell)
+    :commands (flyspell-correct-word-generic
+               flyspell-correct-previous-word-generic)
+    :bind (:map flyspell-mode-map
+                ("C-;" . flyspell-correct-previous-word-generic)))
+
+  (use-package flyspell-correct-ivy
+    :commands (flyspell-correct-ivy)
+    :init (setq flyspell-correct-interface #'flyspell-correct-ivy)))
 
 (use-package whitespace
   :custom