Commit graph

12 commits

Author SHA1 Message Date
Leo Barreiro
dcc85d12d6
Add DapDisconnect command (#1294) 2024-08-01 16:37:54 +02:00
Mathias Fussenegger
6f79b82299 Add json schema to launch.json template 2024-06-03 19:43:09 +02:00
Mathias Fussenegger
7122fd5848 Add DapEval command
Creates a new window with a `dap-eval://` scratch buffer
Supports range mode to pre-fill it with the selected content.
Supports bang to immediately evaluate the content

This is a variant addressing https://github.com/mfussenegger/nvim-dap/issues/665
2024-06-02 19:52:41 +02:00
Mathias Fussenegger
c18767707d Add :DapNew command start new session
If no args: calls dap.continue({ new = true })
If args: calls dap.run for each configuration where name=arg

E.g.: `:DapNew celery django`

If config names contain spaces they need to be escaped
2024-06-01 10:31:31 +02:00
Mathias Fussenegger
30799ffbf6 Drop BufWritePost for .vscode/launch.json files
The files are now instead loaded on-demand if a session is spawned
2024-05-30 16:18:32 +02:00
Mathias Fussenegger
5e2895a8d2 Add dap-eval:// buffer support
Acts as a scratchpad for expression evaluation or multi-line input for
the REPL
2024-05-30 12:42:41 +02:00
Mathias Fussenegger
6b12294a57 Add restart_frame function and DapRestartFrame command
Allows to restart execution of the current frame
2022-10-09 11:06:58 +02:00
Mathias Fussenegger
684f57f9d6 Add templating support for launch.json and auto-load on save 2022-10-08 14:49:27 +02:00
Mathias Fussenegger
bba0354d0e Add a DapLoadLaunchJSON command 2022-08-27 14:05:08 +02:00
Mathias Fussenegger
d6d8317ce9 Define some commands by default 2022-04-18 18:10:30 +02:00
Mathias Fussenegger
bc7c67a751 Remove the dap.vim file
Was used at some point to define a `dap#repl_execute` as workaround.
`vim.fn.<func>` didn't support lua callbacks.

But now it doesn't serve any purpose anymore.
2021-06-09 20:55:39 +02:00
Mathias Fussenegger
4551fd92c3 Add a repl 2020-04-17 00:21:55 +02:00