-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the clients initialize the servers themself #625
Comments
The Conjure Client already has something like this in the form of the So, it seems feasible to add an enhancement to the Guile Client to launch a Guile REPL. It may make sense for some other clients. Thinking out loud, the
When the Guile Client starts up, it can call |
Yep this is a per client thing, it's also a per user thing. If I turned this on by default for all clients I'm sure it'd make some people happy and some very unhappy, so we'll need more options and documentation for something like this. Maybe a global option that all clients should try to respect around auto starting / connecting to REPLs. This is now on my radar, but will need a little thought about how to do it nicely. Maybe having all clients respect a global option is a good idea, try to unify them into a common behaviour. It'll just be through convention so will require changes in every client which is a bit time consuming. |
In v4.39.0, a global option was added to disable automatically calling a client's
I implemented code for the Python, snd-7, and SQL clients so that they wouldn't start the REPL connection if It doesn't seem like other clients have implemented code that enables this functionality. Similarly, I think that each client should handle automatically launching their REPL server on their own. Providing a function to do that and |
Hi,
I think we can have a mechanism that lets the various clients initialize the servers for the user.
Taking as an example guile via socket. It is annoying that I have to spin up myself the repl and set the socket. It would be much nicer I do
<localleader>cc
and then the guile process is spawned by neovim via a job and sets ups the socket for me. I think it can be really easy to make and we can use just a function that can be user customize if needed.The text was updated successfully, but these errors were encountered: