diff --git a/modules/completion/ivy/config.el b/modules/completion/ivy/config.el index f912650af..3adb6e776 100644 --- a/modules/completion/ivy/config.el +++ b/modules/completion/ivy/config.el @@ -65,9 +65,6 @@ immediately runs it on the current candidate (ending the ivy session)." (t . ivy--regex-fuzzy)) ivy-initial-inputs-alist nil)) - ;; make projectile-find-file faster - (add-to-list 'ivy-sort-functions-alist '(projectile-find-file)) - (after! yasnippet (add-to-list 'yas-prompt-functions #'+ivy-yas-prompt nil #'eq)) @@ -175,26 +172,6 @@ immediately runs it on the current candidate (ending the ivy session)." (ivy-set-display-transformer #'counsel-projectile-find-file nil)) -(def-package! ivy-prescient - :hook (ivy-mode . ivy-prescient-mode) - :init - (if (featurep! +fuzzy) - (setq prescient-filter-method 'fuzzy) - (setq prescient-filter-method 'regexp - ivy-prescient-retain-classic-highlighting t)) - :config - (setq prescient-save-file (concat doom-cache-dir "presclient-save.el")) - (prescient-persist-mode +1) - - ;; `ivy-prescient' is too slow for fuzzy projectile-find-file and - ;; counsel-file-jump, so ensure they're ignored - (when (featurep! +fuzzy) - (add-to-list 'ivy-re-builders-alist '(counsel-file-jump . ivy--regex-fuzzy)) - (add-to-list 'ivy-re-builders-alist '(projectile-find-file . ivy--regex-fuzzy))) - (add-to-list 'ivy-prescient-excluded-commands 'counsel-find-jump nil #'eq) - (add-to-list 'ivy-prescient-excluded-commands 'projectile-find-file nil #'eq)) - - (def-package! wgrep :commands wgrep-change-to-wgrep-mode :config (setq wgrep-auto-save-buffer t)) diff --git a/modules/completion/ivy/packages.el b/modules/completion/ivy/packages.el index 53c383744..888368ce1 100644 --- a/modules/completion/ivy/packages.el +++ b/modules/completion/ivy/packages.el @@ -9,7 +9,6 @@ (package! ivy-hydra) (package! ivy-rich) (package! wgrep) -(package! ivy-prescient) (when (and EMACS26+ (featurep! +childframe)) (package! ivy-posframe))