-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Clashes with parinfer? #77
Comments
Is parinfer a LSP client? How did it provide buffer to server? It's hard to answer your question without these. And maybe magic-racket would be a nice reference? |
It's not, but it does watch the buffer and make automatic corrections based on where parens go. I should have mentioned that I'm using Emacs (so Magic Racket is not available to me), and parinfer is well-used there. |
I think I'm lost now, does the problem come from parinfer cooperating with racket-langserver? If so, then how does it pass the buffer? I don't think racket-langserver works with a partial buffer. And On Emacs, a choice is racket-mode. |
Ah let me clarify. I am using To my knowledge, parinfer and racket-langserver don't directly interact. I reported the issue here because it's the LSP that's reporting the weird errors and "stalling", but there's a chance it's not solely at fault. It's also the LSP that's doing the strange reformatting based on confusion over parens, and I only notice it doing that immediately after parinfer has added/deleted parens on its own. Did that clarify the issue? |
A comment from the Doom Emacs maintainer:
|
AFAIK, |
Yes. The full answer is that I'm using the |
Hi there, thanks for a great project.
I've hit a situation where the LSP and what I think is parinfer are getting into fights, and this is confusing the LSP. Every few minutes, the LSP seems to lose track of matched parens, and I get errors like the following that won't go away until I restart the LSP:
As you can see, there are no actual mismatched parens in the buffer. If I attempt to save the buffer in this state, the code is often reformatted very strangely (as if there had been a missing paren) and I have to manually correct everything, restart the LSP, then continue.
Do you have an idea as to what might be happening here? Thank you kindly. 🙏
The text was updated successfully, but these errors were encountered: