Skip to content

Commit f95ab83

Browse files
auto-generate vimdoc
1 parent a0c5f9f commit f95ab83

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

doc/nvim-dap-view.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*nvim-dap-view.txt* For Neovim >= 0.11.0 Last change: 2025 February 18
1+
*nvim-dap-view.txt* For Neovim >= 0.11.0 Last change: 2025 February 22
22

33
==============================================================================
44
Table of Contents *nvim-dap-view-table-of-contents*
@@ -211,8 +211,8 @@ them. To achieve that, add the following snippet to your `nvim-dap-view` setup:
211211
terminal = {
212212
-- NOTE Don't copy paste this snippet
213213
-- Use the actual names for the adapters you want to hide
214-
-- `delve` is known to not use the terminal
215-
hide = { "delve", "some-other-adapter" },
214+
-- `go` is known to not use the terminal.
215+
hide = { "go", "some-other-adapter" },
216216
},
217217
},
218218
}
@@ -231,10 +231,11 @@ global `switchbuf` setting. A common solution is to set `switchbuf` to
231231
<
232232

233233
Ifyou are using an adapter that does not natively support the `nvim-dap`
234-
integrated terminal, you can get the `winnr` and `bufnr` of the `nvim-dap-view`
235-
terminal via `dap-view.state` and use `vim.fn.jobstart` to start your debugger
236-
in the `nvim-dap-view` terminal! An example can be found here
237-
<https://github.com/catgoose/nvim/blob/a783e0fe931a5e417c4e3cc7e964793d895862e6/lua/config/dap/go.lua>
234+
integrated terminal, but you want to use the `nvim-dap-view` terminal anyway,
235+
you can get the `winnr` and `bufnr` of the `nvim-dap-view` terminal via
236+
`dap-view.state` and use `vim.fn.jobstart` to start your debug adapter in the
237+
`nvim-dap-view` terminal! An example can be found here
238+
<https://github.com/catgoose/nvim/blob/ffd88fd66ade9cad0da934e10308dbbfc76b9540/lua/config/dap/go.lua#L19-L48>
238239

239240

240241
HIGHLIGHT GROUPS ~

0 commit comments

Comments
 (0)