Skip to content

Commit

Permalink
docs(dap): add
Browse files Browse the repository at this point in the history
  • Loading branch information
olexsmir committed Sep 22, 2022
1 parent 9f6e94f commit 93be1b1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ It will install next tools:
- [iferr](https://github.com/koron/iferr)

2. Modify struct tags:
By default `json` tag will be added/removed, if not set:
By default `json` tag will be added/removed, if not set:

```vim
:GoTagAdd json " For add json tag
Expand Down Expand Up @@ -146,9 +146,19 @@ Set cursor on the line with **err** and execute:
:GoIfErr
```

10. Setup nvim-dap for go in one line.

Notice: [nvim-dap](https://github.com/mfussenegger/nvim-dap) is required

```lua
require"gopher.dap".setup()
```

## Contributing

PRs are always welcome. See [CONTRIBUTING.md](./CONTRIBUTING.md)

## Thanks

- [go.nvim](https://github.com/ray-x/go.nvim)
- [nvim-dap-go](https://github.com/leoluz/nvim-dap-go)

0 comments on commit 93be1b1

Please sign in to comment.