iron.nvim
iron.nvim copied to clipboard
Code not sent to R REPL if REPL doesn't already exist
Thanks for the plugin.
I'm having trouble getting R code to send to the REPL if the REPL doesn't already exist. The REPL buffer and window are created and the REPL starts fine, but if I initiated everything by sending a line, for example, it doesn't appear in the REPL and isn't executed. I'd have to repeat the command to get it to send. Iron also marks the line as executed (i.e., italicization). From experimenting, it looks like a problem here in that vim.fn.chansend(meta.job, dt)
doesn't appear to have an effect.
I don't have this issue when using a Python REPL. I am on Windows and made no modifications to repl_definition
during setup. Let me know if there's anything else I can share to help troubleshoot. Thanks.
Edit: I checked on my Linux machine and Iron behaves fine. Maybe it has something to do with the return symbols appended to REPL commands?