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

@ -62,7 +62,8 @@
(save-current-buffer
(ispell-accept-buffer-local-defs))
(if (not (or (featurep! :completion ivy)
(featurep! :completion helm)))
(featurep! :completion helm)
(featurep! :completion selectrum)))
(call-interactively #'ispell-word)
(cl-destructuring-bind (start . end)
(or (bounds-of-thing-at-point 'word)