General
-
This is the last version supporting nvim 0.9.5. Going forward 0.10.x, 0.11.x and nightly are supported.
-
Changed how errors are logged for debug adapters.
stderr
output from a debug adapter is now always routed to a dedicated log file that is removed when the debug adapter process exits, unless it exits with an error. The same is the case forstdout
for adapters communicating via TCP or PIPE. Note that some adapters (like delve) usedstdout
to show the output of the application you're debugging by default. These adapters typically also have an option to instead make use ofOutputEvent
events which will result in the output showing up in the REPL. For delve the configuration property is calledoutputMode
. -
The terminal buffer (
:help dap-terminal
) now infers theerrorformat
from the buffer from which you started a debug session. -
Added a
:DapPause
user command.
API
-
Fixed an issue that caused response handlers for
session:request
to receive theerr
also asresponse
-
The
ErrorResponse
values provided aserr
parameter to event listeners or the response handler ofsession:request
now has a__tostring
metatable method to supporttostring(err)
. -
Event listeners (
:help dap-listeners
) can now returntrue
to remove a registered listener. This can be useful for once-off listeners and mirrors nvim's autocmd API. -
Tweaked the display of the process information for
utils.pick_process
to better fit onto the screen. The function now also takes alabel
andprompt
option to customize that further.
REPL
-
Added
]]
and[[
keymaps to the REPL buffer to jump between prompts. -
Added an
opts
parameter torepl.execute()
to allow setting the context for anevaluate
request.