Skip to content

Update the zero-to-swift-nvim documentation.#1357

Open
da-viper wants to merge 3 commits intoswiftlang:mainfrom
da-viper:add-nvim-dap-docs
Open

Update the zero-to-swift-nvim documentation.#1357
da-viper wants to merge 3 commits intoswiftlang:mainfrom
da-viper:add-nvim-dap-docs

Conversation

@da-viper
Copy link
Contributor

Add a new section for setting up Swift debugging in Neovim.

Modifications:

Include the steps and plugins needed to have a debug session.
Add document possible issues users may have when setting up the debugger.

Result:

A good swift debugging experience in neovim.

Add a new section for setting up swift debugging in neovim.
Including the steps, plugins needed to have a debug session.
@da-viper da-viper requested a review from a team as a code owner March 18, 2026 17:08
@da-viper
Copy link
Contributor Author

@swift-ci test

return {
{
"mfussenegger/nvim-dap",
...

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for someone who is following along, this is a bit misleading. This block is supposed to be the same you had before, but this is not stated anywhere and the ... would make copy pasting break.

If you want to build this file incrementally, I would suggest you start with empty stubs for the helper functions on the very top of this file, with a comment -- Implemented below

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and the ... would make copy pasting break.

I don't not want to add the entire file anytime I add a new snippet. Unless there is another way to denote. the previous snippet does not change.

-- env = { LLDBDAP_LOG = "/path/to/store/lldb-dap.log" },
},
}
end,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same idea here

-- debug/plugins/debug.lua
...
{
"rcarriga/nvim-dap-ui",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you missing a description of this part?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants