iron.nvim
iron.nvim copied to clipboard
Feature-request : Sniprun like capability
Hi I Just saw this very interesting plugin: https://github.com/michaelb/sniprun
This print results of repl processing inline. I suspect we have discussed this in the past, but thought I'd mention it. Sniprun is rather incomplete and buggy for my ipython purpose, compared with ironvim. However, if we could have fake-text appearing inline inside the editor automatically or after sending code to the repl, to print values of variables, that would be just awesome!
FI, "fake-test" is called virtual text https://neovim.io/doc/user/api.html#:~:text=nvim_buf_set_extmark(%7Bbuffer%7D%2C%20%7Bns_id%7D%2C%20%7Bline%7D%2C%20%7Bcol%7D%2C%20%7B*opts%7D
There is also a virtual 'line' feature but is more recent than virtual text that predates neovim 0.5