conjure
conjure copied to clipboard
Send to repl in debug mode [python]
Hi,
I love this extension. So much that I also want to use it when working with other language than clojure. I know there is already support for python, but when working on bigger projects it's often needed to debug into before you are at the right part. so just using REPL is not quite working.
long story short, there is this great debugger extension nvim-dap
and nvim-dap-ui
, so no need for conjure
to redo this work. but also conjure
does a really good job of selecting expression, running them, posting results as virtual text, etc.
So I think the ideal solution would be, if conjure
could just used the REPL already running by nvim-dap
. On there readme, they have a snippet how to send it to the REPL:
vnoremap <M-k> <Cmd>lua require("dapui").eval()<CR>
from: https://github.com/mfussenegger/nvim-dap-ui#evaluate-expression
How could I tell conjure
to use this instead of starting it's own python REPL?
Ideally detecting if nvim-dap
is running or not!
Thanks for your great work!