feature/spellcheck: minor refactor
This commit is contained in:
parent
6b1e1a2c58
commit
c63cd0a688
2 changed files with 7 additions and 10 deletions
|
@ -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))))
|
||||
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; feature/spellcheck/packages.el
|
||||
|
||||
(when (package! flyspell-correct)
|
||||
(cond ((featurep! :completion ivy)
|
||||
(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-popup)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue