mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Require project root in dashboard buffer #733
Require default-directory to be in a valid project for project commands to work. This will prevent hangs when accidentally invoking projectile-find-file from $HOME.
This commit is contained in:
@ -63,6 +63,7 @@ Possible values:
|
|||||||
buffer-read-only t)
|
buffer-read-only t)
|
||||||
(setq-local whitespace-style nil)
|
(setq-local whitespace-style nil)
|
||||||
(setq-local show-trailing-whitespace nil)
|
(setq-local show-trailing-whitespace nil)
|
||||||
|
(setq-local projectile-require-project-root t)
|
||||||
(cl-loop for (car . _cdr) in fringe-indicator-alist
|
(cl-loop for (car . _cdr) in fringe-indicator-alist
|
||||||
collect (cons car nil) into alist
|
collect (cons car nil) into alist
|
||||||
finally do (setq fringe-indicator-alist alist))
|
finally do (setq fringe-indicator-alist alist))
|
||||||
|
Reference in New Issue
Block a user