fix(vertico): +vertico/consult-fd

`consult--regexp-compiler` now has 3 arguments

Ref: minad/consult@f0e696dd0d
This commit is contained in:
Venky Iyer 2022-07-23 15:08:45 -07:00 committed by GitHub
parent 7373e97ff6
commit 40ca1a799f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -211,7 +211,7 @@ targets."
(pcase-let* ((cmd (split-string-and-unquote +vertico-consult-fd-args)) (pcase-let* ((cmd (split-string-and-unquote +vertico-consult-fd-args))
(`(,arg . ,opts) (consult--command-split input)) (`(,arg . ,opts) (consult--command-split input))
(`(,re . ,hl) (funcall consult--regexp-compiler (`(,re . ,hl) (funcall consult--regexp-compiler
arg 'extended))) arg 'extended t)))
(when re (when re
(list :command (append cmd (list :command (append cmd
(list (consult--join-regexps re 'extended)) (list (consult--join-regexps re 'extended))