Open Klafyvel opened 8 months ago
Thanks for looking into this.
For me the extra configurability with a basepath isn't necessarily necessary, but specifying the socket name in REPLSmuggle.smuggle()
would be great and then the same discovery mechanism that you have already now can be used on the neovim side.
Following https://github.com/Klafyvel/REPLSmuggler.jl/issues/10, it would be interesting to have a configuration option that fixes the name of the julia socket used rather than asking it to the user.
The most flexible way would be to allow the user to specify a lua function in the configuration, whose task would be to return a path to the socket. For example:
And then, with https://github.com/Klafyvel/REPLSmuggler.jl/pull/12, you could have in your
startup.jl
file something like (not tested):What do you think @fredrikekre?