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:
parent
d3124c4971
commit
939fc0d322
3 changed files with 15 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -303,6 +303,8 @@ If rtags or rdm aren't available, fail silently instead of throwing a breaking e
|
|||
:defer t
|
||||
:init
|
||||
(defvar ccls-sem-highlight-method 'font-lock)
|
||||
(after! project
|
||||
(add-to-list 'project-vc-ignores "^\\.ccls-cache$"))
|
||||
;; DEPRECATED: Remove when projectile is replaced with project.el
|
||||
(after! projectile
|
||||
(add-to-list 'projectile-globally-ignored-directories "^.ccls-cache$")
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
;;; lang/gdscript/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(after! project
|
||||
(add-to-list 'project-vc-extra-root-markers "project.godot"))
|
||||
|
||||
;; DEPRECATED: Remove when projectile is replaced with project.el
|
||||
(after! projectile
|
||||
(add-to-list 'projectile-project-root-files "project.godot"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue