Skip to content
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

LSP fails to start in Doom Emacs default config #101

Open
JLimperg opened this issue Feb 24, 2025 · 1 comment
Open

LSP fails to start in Doom Emacs default config #101

JLimperg opened this issue Feb 24, 2025 · 1 comment

Comments

@JLimperg
Copy link

JLimperg commented Feb 24, 2025

Version 1.1.2 of lean4-mode has been broken for me in Doom Emacs for some time due to the following error.

Setup

I'm running Doom Emacs with the lean4-mode config from the README and the latest lsp-mode. If you can't reproduce, I'll be happy to provide more specific info.

Failure

When loading a Lean file, lean4-mode seems to start properly (no errors in Messages, no error buffers). However, LSP does not start: there's no semantic syntax highlighting, no type-checking, etc. Attempting to open the infoview results in an LSP error indicating that the LSP session does not support the plainGoal method.

Additional Info

I bisected the issue down to commit 78caecefb862f1e38daff7b7cc983651e2b726eb. Reverting this commit, like here, fixes the issue.

@lzy0505
Copy link

lzy0505 commented Mar 3, 2025

I can confirm both the issue and the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants