Add +prescient option for :completion ivy

This provides an alternative backend for filtering and sorting ivy
searches. Uses prescient instead of flx for fuzzy completion when both
+prescient and +fuzzy are selected.
This commit is contained in:
Andrew Whatson 2019-05-29 00:01:45 +10:00
parent febeed2526
commit 2a511a6576
4 changed files with 37 additions and 4 deletions

View file

@ -47,6 +47,7 @@
(def-package! company-prescient
:hook (company-mode . company-prescient-mode)
:config
;; NOTE prescient config duplicated with `ivy'
(setq prescient-save-file (concat doom-cache-dir "prescient-save.el"))
(prescient-persist-mode +1))