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

"LspStart! foo" should force attach "foo" client to current buffer #3331

Open
justinmk opened this issue Oct 1, 2024 · 0 comments
Open

"LspStart! foo" should force attach "foo" client to current buffer #3331

justinmk opened this issue Oct 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@justinmk
Copy link
Member

justinmk commented Oct 1, 2024

Problem

No way to force a lsp client to attach to current buffer (or if there is, please let me know).

#2708 proposed introducing a "shebang" flag to force lsp configs for some special cases, but ultimately, if we can't figure out the correct configs automatically, the general solution is to allow users to easily say what to apply (interactively).

Proposal

  • :LspStart! foo should force the "foo" config for the current buffer.
    • This may also imply "single file mode", I'm not sure. Especially if a "root" couldn't be found.
@justinmk justinmk added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant