nvim-dap-ui
nvim-dap-ui copied to clipboard
Way to toggle all layouts to the same state
Hi,
The current behavior of the toggle function toggles all layouts in a way that is independent of each other.
So for example say I have two layouts defined. After opening the second one using dapui.open(2)
, running dapui.toggle()
closes layout 2, but opens layout 1.
The logic I'm looking for is:
- If any layout is open, close all layouts.
- If no layout is open, open all layouts.
Currently there doesn't seem to be a way to achieve this.