Commit graph

4 commits

Author SHA1 Message Date
Mathias Fussenegger
bc7f18ae17 Handle duplicate session close calls
Closes https://github.com/mfussenegger/nvim-dap/issues/478
2022-03-15 20:23:44 +01:00
Mathias Fussenegger
9fcff6e02e Don't jump to nofile buffers unless it's a dap-source scratch buffer
https://github.com/mfussenegger/nvim-dap/pull/425 caused a regression.

Fixes https://github.com/mfussenegger/nvim-dap/issues/442
2022-02-16 17:48:27 +01:00
Mathias Fussenegger
96d552eea6 Rename dap.stop() to dap.close() and clarify docs
dap.stop() is still kept, but will emit a message that it is
deprecated.

This also changes the default for `terminateDebuggee` in `disconnect` to
`nil` - which means the behavior is up to the debug adapter.
2021-07-25 16:33:22 +02:00
Mathias Fussenegger
25dbff7b0a Add initial code 2020-04-15 19:43:53 +02:00