Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

OhMyREPL.jl package not working #140

Closed
Aneeqasif opened this issue Jan 15, 2024 · 4 comments
Closed

OhMyREPL.jl package not working #140

Aneeqasif opened this issue Jan 15, 2024 · 4 comments

Comments

@Aneeqasif
Copy link

it works perfectly in vterm and then opening julia repl. but not in julia snail repl. any guess what am i missing.

@gcv
Copy link
Owner

gcv commented Jan 17, 2024

This took a bit of digging, but OhMyREPL does not initialize itself when the julia binary runs with command-line arguments (see https://github.com/KristofferC/OhMyREPL.jl/blob/78a4d87e845dd930e8ed2cbb741a6dc59a47a75a/src/OhMyREPL.jl#L106). You can reproduce it by doing julia -L myfile.jl and then running using OhMyREPL: it won’t work. Snail relies on command -line arguments to load itself.

You might want to open a ticket with the OhMyREPL maintainers and ask why they enforce this restriction.

@Aneeqasif
Copy link
Author

Ok sure, i am submitting a ticket on ohmyrepl repo now regarding this i hope there is some workaround that devs may offer

@gcv
Copy link
Owner

gcv commented Jan 17, 2024

I just pushed a change to Snail following advice on the OhMyREPL ticket. It'll hit MELPA in a couple of hours. When it shows up, please update Snail and see if that fixes the problem for you.

@Aneeqasif
Copy link
Author

thank you so much for addressing this issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants