feat: add project-vc config

I intend to keep `project-vc-extra-root-markers` much lighter than what
`projectile-project-root-files` ended up being, so I won't be
transferring all the root markers.

Ref: doomemacs/core#1
This commit is contained in:
Henrik Lissner 2024-08-09 20:49:18 -04:00
parent d3124c4971
commit 939fc0d322
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
3 changed files with 15 additions and 2 deletions

View file

@ -23,8 +23,16 @@ debian, and derivatives). On most it's 'fd'.")
;;
;;; Packages
(after! project
(setq project-list-file (file-name-concat doom-data-dir "projects")))
(use-package! project
:defer t
:init
(setq project-list-file (file-name-concat doom-profile-state-dir "projects"))
:config
(add-to-list 'project-vc-extra-root-markers ".jj")
;; TODO: Advice or add command for project-wide `find-sibling-file'.
)
;; DEPRECATED: Will be replaced with project.el
(use-package! projectile