|
|
Replies: 1 comment 1 reply
|
Hello, This happens because of nvim-dap's internal switchbuf setting (which defaults to your own config's value). In the likely case that you haven't set this up, the default The FAQ contains a slightly outdated question mentioning this. Outdated because it describes the behavior prior to This could be fixed on nvim-dap's side so that it'd ignore windows with Which means that if As I mentioned, you can get around it by setting nvim-dap's switchbuf, which is fine if you just wanna "solve the problem for yourself". But if you care to "solve the problem for everyone else", my recommendation is to open an issue on nvim-dap's repo, explaining the situation. The way I see it, there are 2 alternatives; both are breaking:
I kinda dislike both options, but I think the first one sucks less. You'd have to ask nvim-dap's maintainer what they think. (sorry for the long answer, there's a surprising amount of nuance here) (note: eventually I'll update the FAQ) |
Hello,
This happens because of nvim-dap's internal switchbuf setting (which defaults to your own config's value). In the likely case that you haven't set this up, the default
uselastis used. That means that, strictly, only the last window can be used to show the buffer after a "step over" (or similar actions). However, nvim-dap does not properly handle windows withwinfixbuf(a setting to "glue" a buffer to a window), which nvim-dap-view uses.The FAQ contains a slightly outdated question mentioning this. Outdated because it describes the behavior prior to
winfixbufbeing enabled for nvim-dap-view windows, which was the full-on "overriding" of the window withuselast(which wasn't great …