Starting dap without having a Swift buffer open #49
-
Hey! Just had a small question about how the debugger starts. I noticed that a Swift buffer needed to be open to start dap within |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This is how
As long as there is any Swift buffer visible. |
Beta Was this translation helpful? Give feedback.
-
@whiteio Actually, it turned out that I can workaround it by using Thank you for the feedback it made me think about this solution and as a result fixing the problem :)! 🍻 Please update the plugin and enjoy! |
Beta Was this translation helpful? Give feedback.
This is how
dap.continue()
function works. It gets the DAP configuration based on the current file type. The functionstart_dap_in_swift_buffer
callsdap.continue()
from the first Swift buffer it finds, without switching to it by usingvim.api.nvim_win_call
.As long as there is any Swift buffer visible.