Skip to content
Discussion options

You must be logged in to vote

I believe I have found a solution, replacing the call to minibuffer-with-setup-hook with a simple let form:

(defun consult--with-orderless (&rest args)
  (let ((consult--regexp-compiler #'consult--orderless-regexp-compiler))
    (apply args)))

(advice-add #'consult-ripgrep :around #'consult--with-orderless)

I've updated the wiki accordingly.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by abdulnafe-t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant