Merge pull request #5098 from daanturo/prescient-dont-sort-counsel-org-goto

Add :not counsel-org-goto to ivy-prescient-sort-commands
This commit is contained in:
Henrik Lissner 2021-05-26 16:30:18 -04:00 committed by GitHub
commit 67425f0b61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -388,11 +388,11 @@ results buffer.")
;; REVIEW Remove when raxod502/prescient.el#102 is resolved
(add-to-list 'ivy-sort-functions-alist '(ivy-resume))
(setq ivy-prescient-sort-commands
'(:not swiper swiper-isearch ivy-switch-buffer
lsp-ivy-workspace-symbol ivy-resume ivy--restore-session
counsel-grep counsel-git-grep counsel-rg counsel-ag counsel-ack
counsel-fzf counsel-pt counsel-imenu counsel-yank-pop counsel-recentf
counsel-buffer-or-recentf counsel-outline counsel-jq)
'(:not swiper swiper-isearch ivy-switch-buffer lsp-ivy-workspace-symbol
ivy-resume ivy--restore-session counsel-grep counsel-git-grep
counsel-rg counsel-ag counsel-ack counsel-fzf counsel-pt counsel-imenu
counsel-yank-pop counsel-recentf counsel-buffer-or-recentf
counsel-outline counsel-org-goto counsel-jq)
ivy-prescient-retain-classic-highlighting t)
(defun +ivy-prescient-non-fuzzy (str)
(let ((prescient-filter-method '(literal regexp)))