Refactor DOOM scratch buffer
This commit is contained in:
parent
0903dfa0c8
commit
e7d0e9f9ec
5 changed files with 95 additions and 88 deletions
|
@ -10,7 +10,7 @@
|
|||
(defun doom/wg-projectile-switch-project ()
|
||||
(let ((project-root (doom/project-root)))
|
||||
(doom:workgroup-new nil (file-name-nondirectory (directory-file-name project-root)) t)
|
||||
(doom|update-scratch-buffer project-root)
|
||||
(doom-reload-scratch-buffer project-root)
|
||||
(when (featurep 'neotree)
|
||||
(neotree-projectile-action))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue