Skip to content

Commit

Permalink
Remove limit for number of window-groups for side window-arrangements
Browse files Browse the repository at this point in the history
  • Loading branch information
svaante committed Jan 15, 2025
1 parent 70d5db4 commit 7a3e6f8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dape.el
Original file line number Diff line number Diff line change
Expand Up @@ -1202,10 +1202,8 @@ On SKIP-PROCESS-BUFFERS skip deletion of buffers which has processes."
(pcase (cons mode group)
(`(dape-repl-mode . ,_) '((side . bottom) (slot . -1)))
(`(dape-shell-mode . ,_) '((side . bottom) (slot . 0)))
(`(,_ . 0) `((side . ,dape-buffer-window-arrangement) (slot . -1)))
(`(,_ . 1) `((side . ,dape-buffer-window-arrangement) (slot . 0)))
(`(,_ . 2) `((side . ,dape-buffer-window-arrangement) (slot . 1)))
(_ (error "Unable to display buffer of mode `%s'" mode)))))
(`(,_ . ,index) `((side . ,dape-buffer-window-arrangement)
(slot . ,(1- index)))))))
('gud
(pcase (cons mode group)
(`(dape-repl-mode . ,_)
Expand Down

0 comments on commit 7a3e6f8

Please sign in to comment.