Create different compilation buffers per-project
This commit is contained in:
parent
a3293e67d4
commit
742ff5629c
1 changed files with 4 additions and 0 deletions
|
@ -81,6 +81,10 @@ debian, and derivatives). On most it's 'fd'.")
|
||||||
|
|
||||||
(push (abbreviate-file-name doom-local-dir) projectile-globally-ignored-directories)
|
(push (abbreviate-file-name doom-local-dir) projectile-globally-ignored-directories)
|
||||||
|
|
||||||
|
;; Per-project compilation buffers
|
||||||
|
(setq compilation-buffer-name-function #'projectile-compilation-buffer-name
|
||||||
|
compilation-save-buffers-predicate #'projectile-current-project-buffer-p)
|
||||||
|
|
||||||
;; Override projectile's dirconfig file '.projectile' with doom's project marker '.project'.
|
;; Override projectile's dirconfig file '.projectile' with doom's project marker '.project'.
|
||||||
(defadvice! doom--projectile-dirconfig-file-a ()
|
(defadvice! doom--projectile-dirconfig-file-a ()
|
||||||
:override #'projectile-dirconfig-file
|
:override #'projectile-dirconfig-file
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue