Closed lostl1ght closed 1 year ago
how will this work in config?
Neovim now supports .editorconfig files in 0.9, I think that would be a cleaner approach to setting debug values as opposed to just asking for input every time
Neovim now supports .editorconfig files in 0.9, I think that would be a cleaner approach to setting debug values as opposed to just asking for input every time
Can you give an example? @simrat39
Any updates on this?
Sorry for closing silently. I don't use neither rust-tools nor nvim-dap. I would suggest following simrat39's advice and using editorconfig to setup a DAP configuration. It is quite straightforward. Please read :h editorconfig
, there is an example at the end.
It is quite straightforward. Please read
:h editorconfig
, there is an example at the end.
The help page doesn't mention anything about DAP integration. It explains how to use editorconfig (and custom properties for it) in Lua but rust-tools.nvim would still need to actually read this file.
I could try and make a PR for that but what should the custom property be called?
Closes #241
Two notes:
vim.ui.input()
is evidently async. No idea how to make caller wait for the closure to return. That's why:Otherwise it works just fine.