simrat39 / rust-tools.nvim

Tools for better development in rust using neovim's builtin lsp
MIT License
2.16k stars 158 forks source link

Fix running a debugger when a debuggee needs input #238

Closed ANtlord closed 2 years ago

ANtlord commented 2 years ago

The endpoint of Rust Analyzer textDocument/hover returns commands to run the program. It doesn't work for debugging because we have to build and only then run the program within a debugger. The arguments are corrected to achieve that.

Rebased duplicate of https://github.com/simrat39/rust-tools.nvim/pull/226

simrat39 commented 2 years ago

Thanks for the PR!