Skip to content

Starting dap without having a Swift buffer open #49

Closed Answered by wojciech-kulik
whiteio asked this question in Q&A
Discussion options

You must be logged in to vote

This is how dap.continue() function works. It gets the DAP configuration based on the current file type. The function start_dap_in_swift_buffer calls dap.continue() from the first Swift buffer it finds, without switching to it by using vim.api.nvim_win_call.

Was just curious if it'd be able to start with a different buffer open such as Objective-C?

As long as there is any Swift buffer visible.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by whiteio
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants