Workaround for a bug in +vertico/project-search-fixed
This commit is contained in:
parent
43d30f03bc
commit
0f0b20178f
1 changed files with 6 additions and 0 deletions
|
@ -140,3 +140,9 @@
|
||||||
(add-to-list 'eglot-server-programs '(nix-mode . ("nil")))
|
(add-to-list 'eglot-server-programs '(nix-mode . ("nil")))
|
||||||
(add-hook! 'nix-mode-hook #'eglot-ensure)
|
(add-hook! 'nix-mode-hook #'eglot-ensure)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
;; FIXME: https://github.com/minad/consult/issues/705
|
||||||
|
(defun +vertico/project-search-fixed (&optional arg initial-query directory)
|
||||||
|
(interactive "P")
|
||||||
|
(consult-ripgrep directory initial-query))
|
||||||
|
(advice-add '+vertico/project-search :override #'+vertico/project-search-fixed )
|
||||||
|
|
Loading…
Add table
Reference in a new issue