Fix prescient breaking certain counsel commands due to post-sorting
This commit is contained in:
parent
e66769293c
commit
ed2fb68362
1 changed files with 6 additions and 3 deletions
|
@ -350,10 +350,13 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
|
|||
(setq prescient-filter-method
|
||||
(if (featurep! +fuzzy)
|
||||
'(literal regexp initialism fuzzy)
|
||||
'(literal regexp initialism))
|
||||
ivy-prescient-retain-classic-highlighting t)
|
||||
|
||||
'(literal regexp initialism)))
|
||||
:config
|
||||
(setq ivy-prescient-sort-commands
|
||||
'(:not swiper swiper-isearch ivy-switch-buffer counsel-grep
|
||||
counsel-git-grep counsel-ag counsel-rg counsel-imenu
|
||||
counsel-yank-pop counsel-recentf counsel-buffer-or-recentf)
|
||||
ivy-prescient-retain-classic-highlighting t)
|
||||
(defun +ivy-prescient-non-fuzzy (str)
|
||||
(let ((prescient-filter-method '(literal regexp)))
|
||||
(ivy-prescient-re-builder str)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue