feature/spellcheck: minor refactor

This commit is contained in:
Henrik Lissner 2018-05-30 01:44:56 +02:00
parent 6b1e1a2c58
commit c63cd0a688
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 7 additions and 10 deletions

View file

@ -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))))

View file

@ -1,11 +1,10 @@
;; -*- no-byte-compile: t; -*-
;;; feature/spellcheck/packages.el
(when (package! flyspell-correct)
(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)))