rcarriga / nvim-dap-ui

A UI for nvim-dap
MIT License
2.64k stars 96 forks source link

dapui automatically closes when I enter a new file #394

Open AskaJohnny opened 2 months ago

AskaJohnny commented 2 months ago

When I open dapui and enter another file that has not been opened, the original dapui window disappears, but if I enter a file that has already been opened, the original dapui can still be maintained

I don't know if dapui turned it off for me or if bufferline turned it off automatically for me

Thanks for helping me take a look

4171724748243_ pic 4181724748271_ pic

AskaJohnny commented 2 months ago

For example, step_into is the same

sleeptightAnsiC commented 3 weeks ago

This is NOT an issue with dapui (but perhaps with your config)

By opening a new file you're automatically opening a new tab, which isn't a standard behavior of neovim. This results in new window layout leaving dapui windows in the previous tab. Dapui works perfectly fine here - those windows are not supposed to move between tabs on its own.

You better off checking what your neovim config does under the hood and tweaking it on your side.