selectrum: add spellcheck support

This commit is contained in:
Itai Y. Efrat 2021-04-29 12:43:16 +03:00
parent b9e34835c7
commit 8e6371760a
4 changed files with 7 additions and 4 deletions

View file

@ -234,7 +234,8 @@ e.g. proselint and langtool."
(require 'flyspell-correct-helm nil t)))
((and (featurep! :completion ivy)
(require 'flyspell-correct-ivy nil t)))
((require 'flyspell-correct-popup nil t)
((featurep! :completion selectrum)) ; selectrum doesn't need any extra configuration
((require 'flyspell-correct-popup nil t) ; only use popup if no compatible completion UI is enabled
(setq flyspell-popup-correct-delay 0.8)
(define-key popup-menu-keymap [escape] #'keyboard-quit))))