feature/workspaces: fix +workspace/close-window-or-workspace (closes workspace on last window)
This commit is contained in:
parent
5374d96781
commit
752e8e4fe4
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ the workspace and move to the next."
|
|||
(doom/popup-close)
|
||||
(let ((current-persp-name (+workspace-current-name)))
|
||||
(cond ((or (equal current-persp-name persp-nil-name)
|
||||
(= (length (doom-visible-windows)) 1))
|
||||
(> (length (doom-visible-windows)) 1))
|
||||
(if (bound-and-true-p evil-mode)
|
||||
(evil-window-delete)
|
||||
(delete-window)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue