-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
fix: check workspace after client initial #2356
Conversation
Can confirm that the lastest commits here fix #2355! |
hmmm wired . there has something I don't know , as the sumneko's wiki said there need restart server after insert workspace. I just send the https://github.com/sumneko/lua-language-server/wiki/Developing#multiple-workspace-support |
Looking at the sumneko code, it does actually support dyanmically changing the workspace folders, but before this PR, diagnostics for the current buffer would be wrong. Haven't checked your PR here, but the incorrect diagnostics now no longer show up. |
Should I re-open that linked sumneko issue? |
don't look at the sumneko code .if it support maybe wiki is old.
Just to make sure this PR solves the actual problem. I will wait for you to use it for a while. If it doesn't have any problems anymore I will merge.
maybe not. we don't have any handlers for request |
Oh right. I actually implemented the |
there has something to do in core diagnostic , I only have a rough idea of how |
now confirm right ? |
I've done more testing and this PR seems to fix the issues I had with diagnostics. |
thanks for your kind reply. |
Problem
logic bug
Solution
rewrite
Fix #2355