-
Notifications
You must be signed in to change notification settings - Fork 127
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
bug: Help with eslint_d timeout #364
Comments
I had the same issue, adding |
Thanks I'll give that a try |
I think this fixed it, haven't seen it again since |
I'm facing the same issue, and I think the solution is not yet found. The problem is that eslint_d takes too much time to format when using conform.nvim. Although, we have workarounds like waiting for 10 seconds each save or using unstable async formatting. |
Same issue still, async workaround is buggy at best |
In what way is async formatting buggy? |
random timeouts mostly |
Timeouts? Async formatting doesn't have timeouts. Unless you're talking about eslint_d itself timing out? |
ya sorry, like the above comment from @Lippiece eslint_d timeouts, so is this whole issue eslint_d related and not related to conform? |
That's what it sounds like. If running the command directly on the command line doesn't time out, then maybe there's something we can do. |
Ok ill try to do some more isolated testing this weekend when i get time |
Neovim version (nvim -v)
NVIM v0.10.0-dev-2258+g1405e5c8c
Operating system/version
MacOS 14.4.1
Add the debug logs
log_level = vim.log.levels.DEBUG
and pasted the log contents below.Log file
Describe the bug
I have a typescriptreact file, and for my formatters i have :
typescriptreact = { "prettier", "eslint_d" },
I also use https://github.com/pmizio/typescript-tools.nvim
My format_on_save function:
but I also have an autocmd setup because of tstools:
this autocmd is setup because on save I want TSTools to add missing imports, remove unused imports, then call conforms format
The funny thing is, the eslint_d seems to format on save, but then says it times out after
What is the severity of this bug?
breaking (some functionality is broken)
Steps To Reproduce
Expected Behavior
I expect eslint_d to not timeout
Minimal example file
Any typescript react file seems to do this
Minimal init.lua
Additional context
No response
The text was updated successfully, but these errors were encountered: