about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-editor.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-editor.el')
-rw-r--r--.emacs.d/lisp/init-editor.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el
index 117c491..ce7951c 100644
--- a/.emacs.d/lisp/init-editor.el
+++ b/.emacs.d/lisp/init-editor.el
@@ -111,11 +111,11 @@
   :config
   (global-flycheck-mode))
 
-(use-package flyspell
+(use-feature flyspell
   :diminish
   :config
   (when (string-suffix-p "aspell" ispell-program-name)
-    (ispell-extra-args '("--sug-mode=ultra")))
+    (setq ispell-extra-args '("--sug-mode=ultra")))
   :hook
   (text-mode . flyspell-mode)
   (prog-mode . flyspell-prog-mode))