iron.nvim icon indicating copy to clipboard operation
iron.nvim copied to clipboard

Feature-request : Sniprun like capability

Open drusmanbashir opened this issue 2 years ago • 1 comments

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!

drusmanbashir avatar Mar 29 '22 17:03 drusmanbashir

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

michaelb avatar May 21 '22 14:05 michaelb