-
Notifications
You must be signed in to change notification settings - Fork 28
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
Calling lean4-toggle-info causing lsp--send-request-async: The connected server(s) does not support method $/lean/plainGoal. #54
Comments
Does it work only inside a project directory? I was trying to run it on a single file. It works inside project. |
Same.
Emacs: 29.4 |
Can anyone provide a minimal reproducing example? |
I also encountered this same error.
Here is the error I got Debugger entered--Lisp error: (error "The connected server(s) does not support method $/...")
error("The connected server(s) does not support method %s..." "$/lean/plainGoal")
lsp--send-request-async((:jsonrpc "2.0" :method "$/lean/plainGoal" :params (:textDocument (:uri "file:///home/atticusk/coding/lean_test/LeanTest/Ba...") :position (:line 0 :character 0))) #<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_72> tick ignore nil nil :plain-goal)
lsp-request-async("$/lean/plainGoal" (:textDocument (:uri "file:///home/atticusk/coding/lean_test/LeanTest/Ba...") :position (:line 0 :character 0)) #<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_72> :error-handler ignore :mode tick :cancel-token :plain-goal)
lean4-info-buffer-refresh()
lean4-toggle-info()
funcall-interactively(lean4-toggle-info)
command-execute(lean4-toggle-info)
For me, the minimal reproducing example is just a basic project which you get from Emacs version: GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars) By the way, if it helps, here is the *lsp-log*
|
Maybe this issue is related to Doom Emacs? |
Lean (version 4.4.0, commit ca7d6dadb9e1, Release)
lean4-mode commit: d1c9364
GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-05-31
The text was updated successfully, but these errors were encountered: