-
Notifications
You must be signed in to change notification settings - Fork 140
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
error processing hover event #133
Comments
This error is not in |
Yeah, in fact... I only get this error when disabling and re-enabling lsp-ui-mode, so maybe some state isn't getting re-initialized correctly. Now... I guess maybe I'm missing something. I believe I have lsp-ui enabled correctly, but none of its features appear to be working. Am I missing something obvious? Do I have to do anything to make use of the sideline or doc child-frame features? According to lsp modes shown in the "Enabled minor modes" list:
|
You are getting this error after disabling |
Ok, interesting. Turns out, this may all be caused by using
Set in my env, which seems to get in the way of rls functioning correctly. So, for the time being I've created a wrapper script which unsets RUSTC_WRAPPER and execs rls, and have configured lsp-rust to use it:
And, it works! Now I can actually get around to trying it out and tweaking the configuration to my liking, instead of being incredibly confused why it wasn't working. I ended up finding some errors in the
...which helped me find this open rls issue: Thanks for your help pointing me in the right direction. :) |
I can't seem to get any features from the lsp-ui package to work. I'm using the lsp-rust backend, which does work with the basic lsp-mode functionality. (e.g.,
M-.
,M-?
, and inline syntax checking with flycheck.)However, when I enable lsp-ui-mode in a buffer, I (after a short delay) get an error. Toggling debug-on-error gives me this backtrace:
I thought it might have something to do with my multi-binary + library crate, so I switched over to a single binary crate with a single source file and have the same issues.
I'm using the emacs-mac build as of yesterday:
I've poked around the customize groups for lsp-ui (and its sub-features) and didn't see anything obvious that I needed to configure, so... I'm out of ideas! You've got several demos indicating that these features ought to be working for me with rust-mode, so perhaps it's a macOS-specific issue, or a regression with rls.
The text was updated successfully, but these errors were encountered: