Merge pull request #3137 from CeleritasCelery/spell

Wrap flyspell-correct-at-point in feature check
This commit is contained in:
Henrik Lissner 2020-05-18 03:00:22 -04:00 committed by GitHub
commit 470fe21098
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View file

@ -87,6 +87,7 @@ e.g. proselint and langtool."
(use-package! flyspell-correct
:commands flyspell-correct-at-point flyspell-correct-previous
:general ([remap ispell-word] #'flyspell-correct-at-point)
:config
(cond ((and (featurep! :completion helm)
(require 'flyspell-correct-helm nil t)))

View file

@ -492,7 +492,6 @@ To change these keys see `+evil-repeat-keys'."
:n "gr" #'elfeed-search-update--force
:n "gR" #'elfeed-search-fetch))
:nv "z=" #'flyspell-correct-at-point
;; custom evil keybinds
:nv "zn" #'+evil:narrow-buffer
:n "zN" #'doom/widen-indirectly-narrowed-buffer