-
-
Notifications
You must be signed in to change notification settings - Fork 863
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
Wrong server selected #4454
Comments
I just came here to mention that I'm having a similar issue. Given that I opened a graphql file instead of a TSX one when opening the project lsp mode suggested Graphql-lsp server (which is cool for the gql file), but whenever I open a tsx, it doesn't change the selected client, and I can't select it using |
Try to configuring the variable |
Currently, that variable is empty, however, after manually installing the corresponding clients it apparently worked! |
Experiencing the exact same problem as OP here. I'm using I can switch to the correct server (and/or client, not sure about the correct term here) using |
I'm having this issue in spacemacs. Modifying Is there no other way to manually switch an LSP client? I've been paging through google for about an hour and turned up nothing. |
M-x add-dir-local-variable with enabled/disabled clients should work. |
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
Every time I open a JS file lsp-mode selects vue-semantic-server. Even if I remove all emacs.d/ related files (.emacs, .init.el, etc.). There is some configure which is getting loaded somewhere. Where could it be?
Steps to reproduce
Expected behavior
Open the JS files with ts-ls and not with vue-semantic-server
Which Language Server did you use?
lsp
OS
Linux
Error callstack
The text was updated successfully, but these errors were encountered: