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

eglot with rust-mode in emacs, project indexed but does not works noramally #18507

Open
zylthinking opened this issue Nov 13, 2024 · 1 comment
Labels

Comments

@zylthinking
Copy link

Sometimes (It is common), eglot does find the crate root and indexes it, but then if I jump using find defienation or something else, reports no defination found by LSP.

When that occures, it seems the project does not been indexed at all, e.g. almost all lsp functions can't be used.

Image

@zylthinking zylthinking added the C-bug Category: bug label Nov 13, 2024
@roife
Copy link
Member

roife commented Nov 15, 2024

I cloned cpal, and it works fine under emacs + eglot. It is recommended to enable log from eglot by setting the eglot-events-buffer-config.

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

No branches or pull requests

2 participants