Skip to content
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

Optional name(s) to stop specific LSP with :lsp-stop #12569

Open
gfauredev opened this issue Jan 17, 2025 · 1 comment · May be fixed by #12578
Open

Optional name(s) to stop specific LSP with :lsp-stop #12569

gfauredev opened this issue Jan 17, 2025 · 1 comment · May be fixed by #12578
Labels
A-command Area: Commands C-enhancement Category: Improvements

Comments

@gfauredev
Copy link

gfauredev commented Jan 17, 2025

We may have multiple language servers attached to the running editor, and sometimes only one or two are problematic or unneeded.

It would be nice if we could optionally append the names of the specific LSPs we want to stop after the command :lsp-stop, in order to only stop theses. But the original command without arguments will remain the same, stopping all the servers.

For a better usability, I think tab-completions after :lsp-stop could help (as in NeoVim for example), because we don’t always know the exact server names.

@gfauredev gfauredev added the C-enhancement Category: Improvements label Jan 17, 2025
@the-mikedavis the-mikedavis added the A-command Area: Commands label Jan 17, 2025
@kpbaks
Copy link
Contributor

kpbaks commented Jan 18, 2025

Similar behaviour for :lsp-restart would be nice as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-command Area: Commands C-enhancement Category: Improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants