-
Notifications
You must be signed in to change notification settings - Fork 46
feat: add :Roslyn start command #191
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
Conversation
|
one related question though, I figure there is a good reason, but any idea how we can hook into the native :LspStart, :LspStop and :LspRestart commands? |
|
Thanks! I will look at this later. I just didn't really have the need for I would be open to adding a
Yes. Previously it wasn't possible, because neovim didn't have a sense of a language server config. However, that is now fixed with There are two PR's that needs to be merged before they can be used: After this, the only command really needed here is |
164d15f to
01b8322
Compare
c1d7441 to
1dcc002
Compare
|
I bailed on refactoring the target function and have just reverted it back to what it was before and only implemented the start functionality. |
seblyng
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me👍 thanks!
I've had a few times where i wanted to stop and start the roslyn lsp and after doing a
:Roslyn stop....there was no start. Maybe there is a good reason, but I was a bit confused so I've added it.I took a look and saw that
:Roslyn targetdoes start, but it needed to select the sln file. I figure if there is only one sln file found, why ask? So I short cut it to start automatically if only one sln is found.I'm using the conform plugin to force formatting.....but it appears it may be different from your defaults. If this is an issue, just let me know and I'll redo with your formatting.
Any comments, improvements, etc please let me know, as it my first lua PR. 🎉