Reformat doctor output & add DOOMDIR check
- Will now warn you if both .doom.d and .config/doom exists. - Include branch and last commit date in doctor/info, next to Doom version. - Issues in Doom core are now indented.
This commit is contained in:
parent
f37b1342a2
commit
20a63a35ab
3 changed files with 13 additions and 6 deletions
|
@ -27,3 +27,11 @@
|
|||
(warn! "Your $HOME is recognized as a project root")
|
||||
(explain! "Doom will disable bottom-up root search, which may reduce the accuracy of project\n"
|
||||
"detection.")))
|
||||
|
||||
;; There should only be one
|
||||
(when! (and (file-equal-p doom-private-dir "~/.config/doom")
|
||||
(file-directory-p "~/.doom.d"))
|
||||
(warn! "Both %S and '~/.doom.d' exist on your system"
|
||||
(abbreviate-file-name doom-private-dir))
|
||||
(explain! "Doom will only load one of these (~/.config/doom takes precedence). Since\n"
|
||||
"it is rarely intentional that you have both, ~/.doom.d should be removed."))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue