-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround for error in buffer-switcher
The issue is with ivy-rich. Yevgnen/ivy-rich#115
- Loading branch information
Showing
2 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -210,4 +210,5 @@ | |
mod-deft | ||
mod-bookmarks ;; set location to ~/.config/doom | ||
mod-clojure | ||
mod-ivy | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
;; Patch to fix "Error in post-command-hook (ivy--queue-exhibit)..." | ||
;; From: https://github.com/Yevgnen/ivy-rich/issues/115 | ||
;; This is an issue in ivy-rich, doom hasn't updated yet | ||
(after! ivy | ||
;; Use fuzzy ivy completion, I like this better than having to put a <space> between patterns | ||
|
||
;; (setq ivy-re-builders-alist '((counsel-rg . ivy--regex-plus) | ||
;; (swiper . ivy--regex-fuzzy) | ||
;; (swiper-isearch . ivy--regex-fuzzy) | ||
;; (t . ivy--regex-fuzzy))) | ||
) | ||
(defun ivy-rich--switch-buffer-directory! (orig-fun &rest args) | ||
(cl-letf (((symbol-function 'directory-file-name) #'file-name-directory)) | ||
(apply orig-fun args))) | ||
(advice-add 'ivy-rich--switch-buffer-directory :around #'ivy-rich--switch-buffer-directory!)) |