iron.nvim
iron.nvim copied to clipboard
On start error, the REPL window closes immediately so one can't read the error
I am using f603de5
I dont have a lua interpreter in PATH so running IronRepl lua
logically fails BUT it does so in a weird way, e.g., iron.nvim starts a window which immediately disappears so I can't read what's on it. Then when I try to quit, neovim complains because of running jobs:
:lua vim.pretty_print(vim.api.nvim_list_chans())
{ {
client = {
[true] = 6
},
id = 1,
mode = "rpc",
stream = "stdio"
}, {
id = 2,
mode = "bytes",
stream = "stderr"
}, {
argv = { "/run/current-system/sw/bin/nix", "repl", "/home/teto/nixpkgs" },
buffer = 10,
id = 3,
mode = "terminal",
pty = "/dev/pts/6",
stream = "job"
}, {
argv = { "/run/current-system/sw/bin/zsh", "-c", "lua" },
buffer = 14,
id = 4,
mode = "terminal",
pty = "/dev/pts/8",
stream = "job"
} }
So I wish a failing REPL would not disappear (hoping it's not a behavior due to some of my other plugins) and I dont think it used to be the case, something must have changed recently.
This could be interesting to support :checkhealth iron.nvim
too to see if all REPLs are correctly configured.