bump: :completion vertico
iyefrat/all-the-icons-completion@d1d4b2f0df -> iyefrat/all-the-icons-completion@9650041854 minad/consult@69bbd213dc -> minad/consult@105a1ac501 minad/marginalia@1123544536 -> minad/marginalia@c6ca58bea8 minad/vertico@9de6709cdd -> minad/vertico@81a4b35f8d oantolin/embark@1a7e6b5561 -> oantolin/embark@19145d5a33 oantolin/orderless@1e84120a28 -> oantolin/orderless@1a7011ac9c - Adapt consult async commands to new consult-x-args format instead of consult-x-command. - Change regepx in +vertico-file-search to emacs instead of pcre, because consult switched to using only emacs regexps - Move to new embark-indicators variable, and replace embark-mixed-indicator with +vertico/embark-which-key-indicator to be compatible with future changes - Adapt Doom's optional usage of fd to new consult command format
This commit is contained in:
parent
c3fc7da5f1
commit
940f66fa89
3 changed files with 48 additions and 29 deletions
|
@ -91,11 +91,12 @@ overrides `completion-styles' during company completion sessions.")
|
|||
consult-async-input-throttle 0.2
|
||||
consult-async-input-debounce 0.1)
|
||||
|
||||
(when doom-projectile-fd-binary
|
||||
(setq consult-find-command
|
||||
(format "%s -i -H -E .git --regex %s ARG OPTS"
|
||||
doom-projectile-fd-binary
|
||||
(if IS-WINDOWS "--path-separator=/" ""))))
|
||||
(setq +vertico-consult-fd-args
|
||||
(if doom-projectile-fd-binary
|
||||
(format "%s --color=never -i -H -E .git --regex %s"
|
||||
doom-projectile-fd-binary
|
||||
(if IS-WINDOWS "--path-separator=/" ""))
|
||||
consult-find-args))
|
||||
|
||||
(consult-customize
|
||||
consult-ripgrep consult-git-grep consult-grep
|
||||
|
@ -145,8 +146,7 @@ overrides `completion-styles' during company completion sessions.")
|
|||
:desc "Actions" "a" #'embark-act)) ; to be moved to :config default if accepted
|
||||
:config
|
||||
(set-popup-rule! "^\\*Embark Export Grep" :size 0.35 :ttl 0 :quit nil)
|
||||
|
||||
(setq embark-indicator #'+vertico/embark-which-key-indicator)
|
||||
(cl-nsubstitute #'+vertico/embark-which-key-indicator #'embark-mixed-indicator embark-indicators)
|
||||
;; add the package! target finder before the file target finder,
|
||||
;; so we don't get a false positive match.
|
||||
(let ((pos (or (cl-position
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue