[Emacs] Have consult use projectile to find project root

This commit is contained in:
Kat Huang 2023-07-28 16:51:53 +00:00
parent 1cda332da4
commit e65980e291

View File

@ -2009,8 +2009,12 @@ Neotree is useless with frame mode for now, so I've disabled it.
** consult
#+begin_src emacs-lisp
(use-package consult
:commands consult-ripgrep
:bind (("C-x b" . consult-buffer)
("C-x C-i" . consult-imenu)))
("C-x C-i" . consult-imenu))
:config
(progn
(setq consult-project-function 'projectile-project-root)))
#+end_src
** company
#+BEGIN_SRC emacs-lisp