git: restore layout when exiting magit buffer
closes https://github.com/syl20bnr/spacemacs/issues/14951 Co-authored-by: Richard Kim <emacs18@gmail.com>
This commit is contained in:
parent
f78c9bed18
commit
a9ba3b8fe0
1 changed files with 1 additions and 0 deletions
|
@ -155,6 +155,7 @@
|
|||
(defun git/init-magit ()
|
||||
(use-package magit
|
||||
:defer (spacemacs/defer)
|
||||
:custom (magit-bury-buffer-function #'magit-restore-window-configuration)
|
||||
:init
|
||||
(progn
|
||||
(push "magit: .*" spacemacs-useless-buffers-regexp)
|
||||
|
|
Reference in a new issue