fix(navigation): resolve load order between consult and projectile

This commit is contained in:
2022-04-19 00:47:54 +01:00
parent db8c95438f
commit 846c13881e
2 changed files with 6 additions and 4 deletions

View File

@@ -6,6 +6,8 @@
;;; Code:
(require 'siren-projectile)
(eval-when-compile
(require 'cl-lib))
@@ -24,10 +26,7 @@
(consult-preview-max-count 10)
:config
;; (consult-customize consult--source-bookmark :hidden t)
;; (consult-customize consult--source-recent-file :hidden t)
(with-eval-after-load 'projectile
(setq consult-project-root-function 'projectile-project-root))
(setq consult-project-root-function 'projectile-project-root)
:init
(defun siren-consult-imenu ()

View File

@@ -7,6 +7,9 @@
;;; Code:
(use-package projectile
:commands
projectile-project-root
:general
("C-c p p" 'projectile-switch-project)
("C-c p k" 'projectile-kill-buffers)