-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Warning - Timeout #389
Comments
Do you format on save? Can you share the contents of .elixir-tools/next-ls.log when you save? You can tail -f that file and watch it when the timeout happens |
Also, disable credo as next has support for credo. |
Also the version key isn't used in the next config, so you can remove that |
Yes.
No problems - I don't use credo but good to know.
Nothing interesting in here.
|
It definitely seems like the formatting call is timing out for some reason. Does the timeout message happen when you format manually? |
You can also check :LspLog to see if there are formatting requests in there that don't show up in the next log. |
No. |
Maybe related, maybe not... nvim just crashed and the output of `tail -f .elixir-tools/next-ls.log is
I did not make any changes to |
did you change branches and had the mix.lock file change? |
No. I am in the middle of a feature doing this pattern:
Disabling nextls fixes the problem. So it's some combination of nextls + my vim config (stock lazy vim other than the one addition mentioned in the stop description) + my project. I haven't tried working on a different project to see if I can replicate yet. |
Is this an umbrella app? |
no. |
I believe #401 should close out this issue, I will likely release it in v0.20.2, please update and let me know if you can still reproduce. I'll close the issue if I don't hear back in a while, but feel free to comment and I'll re-open |
Very quickly after opening my project in neovim I am seeing the below timeout error when saving my project.
This seems to happen "about" ~5 ":w" into my workflow. Saving becomes significantly slower until I quit and restart. Disabling nextls "fixes" the problem.
I am using stock LazyVim with this additional change to
lua/plugins/example.lua
:Neovim version:
nextls version
The text was updated successfully, but these errors were encountered: