-
Notifications
You must be signed in to change notification settings - Fork 49
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
on_attach
is being called twice when separate_diagnostic_server
is true
#208
Comments
Probably it isn't. We spawn 2 tsservers in this mode indeed, but still one lsp should be attached. I need to check this. |
@b0o it should be fixed in connected pr, can you check it? |
@pmizio Yes, that fixed it. Thank you! |
@b0o merged into master! Thanks for checking it up. |
I think it might be because they didn't disable the |
Nope, I only had typescript-tools enabled. |
The latest fix PR is problematic; you can try using it to open a React project. Then attempt to rename a variable, and open two files consecutively. You will notice that only the first file is affected. |
Hmm, I don't have the same issue here. Opening two files and renaming a variable shared between them works as expected. |
Is this intentional? This is causing issues with twoslash-queries, causing duplicate virtual text. Here is my full config:
The text was updated successfully, but these errors were encountered: