Open MikeLemo1 opened 3 months ago
@MikeLemo1 I am not associated to dev-team but here is a fix if you are in Linux:
Find the common.lua
file inside of the package and set local is_python = false
in line 93.
For the dev team (@nickeisenberg ) : there seems to be some nasty circular dependency: "common-> config -> init->python->common" Id be interested to write a PR if you guys'd like.
@MikeLemo1 @ottersome Hey sorry for the late reply. There is a bug here that I noticed awhile back. I have been busy and was not able to get to it. The problem is that if repl_definition
is not nil
then you need to specify the setup for each language.
@ottersome feel free to submit a PR! That would be highly appreciated and I can look at it this weekend.
@MikeLemo1 a quick fix for this right now would be to do either of the following in your configuration:
repl_definition = nil
local python_format = require("iron.fts.common").bracketed_paste_python
local repl_definition = {
python = {
command = { "python3" },
format = python_format
}
}
iron.setup {
config = {
...,
repl_definition = repl_definition
...,
},
...,
}
I've basically installed iron on ubuntu 24.04 the latest nvim with lazy in bash with the following slightly edited config:
doing
send_file
sends the following error:Any idea?
Also I'm not sure how to run the whole file, one line, visual selection with lua functions