diff --git a/modules/feature/spellcheck/config.el b/modules/feature/spellcheck/config.el index 2cc8dadb6..712877181 100644 --- a/modules/feature/spellcheck/config.el +++ b/modules/feature/spellcheck/config.el @@ -30,8 +30,6 @@ Since spellchecking can be slow in some buffers, this can be disabled with: (require 'flyspell-correct-helm)) ((featurep! :completion ivy) (require 'flyspell-correct-ivy)) - (t - (require 'flyspell-correct-popup) + ((require 'flyspell-correct-popup) (setq flyspell-popup-correct-delay 0.8) (define-key popup-menu-keymap [escape] #'keyboard-quit)))) - diff --git a/modules/feature/spellcheck/packages.el b/modules/feature/spellcheck/packages.el index 97172953f..87e8bd828 100644 --- a/modules/feature/spellcheck/packages.el +++ b/modules/feature/spellcheck/packages.el @@ -1,11 +1,10 @@ ;; -*- no-byte-compile: t; -*- ;;; feature/spellcheck/packages.el -(when (package! flyspell-correct) - (cond ((featurep! :completion ivy) - (package! flyspell-correct-ivy)) - ((featurep! :completion helm) - (package! flyspell-correct-helm)) - (t - (package! flyspell-correct-popup)))) +(package! flyspell-correct) +(cond ((featurep! :completion ivy) + (package! flyspell-correct-ivy)) + ((featurep! :completion helm) + (package! flyspell-correct-helm)) + ((package! flyspell-correct-popup)))