nvim-dap-ui icon indicating copy to clipboard operation
nvim-dap-ui copied to clipboard

Fix edit variables

Open szaffarano opened this issue 1 year ago • 1 comments

Fixes #349

As reported by the linked issue, editing variables shows an error, although it works as expected. The problem was that it wasn't capturing the first pcall return value (aka success) to figure out whether the pcall worked or not, and then, yes, use its second return value (aka result) to eventually handle the error. More info: http://www.lua.org/manual/5.1/manual.html#pdf-pcall

szaffarano avatar May 02 '24 00:05 szaffarano

This worked for me on Windows 11 and Neovim 0.10.0.

myth0genesis avatar May 17 '24 23:05 myth0genesis

Thanks for the PR! :smile:

rcarriga avatar Jul 13 '24 10:07 rcarriga