Skip to content

Commit

Permalink
docs(dap): readability
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed Dec 7, 2024
1 parent e87c2d3 commit 865bfa0
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,14 +225,11 @@ To debug tests, make sure you depend on
[rcarriga/nvim-dap-ui](https://github.com/rcarriga/nvim-dap-ui). Then you have
two options:

- Adapter-provided DAP configuration, leveraging
[leoluz/nvim-dap-go](https://github.com/leoluz/nvim-dap-go) (recommended).
- Use your own custom DAP configuration (no additional dependency needed).

Example configurations:

<details>
<summary>Adapter-provided configuration</summary>
<summary>
Adapter-provided DAP configuration,
leveraging leoluz/nvim-dap-go (recommended).
</summary>

```diff
return {
Expand Down Expand Up @@ -273,7 +270,7 @@ return {
</details>

<details>
<summary>Custom DAP configuration</summary>
<summary>Use your own custom DAP configuration (no additional dependency needed).</summary>

```diff
return {
Expand Down Expand Up @@ -313,7 +310,7 @@ return {
}
```

</details>
</details><br>

Finally, set a keymap, like:

Expand Down

0 comments on commit 865bfa0

Please sign in to comment.