Skip to content

Running rust_analyzer lsp in single file mode #84

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

Closed
zakissimo opened this issue Mar 30, 2024 · 3 comments
Closed

Running rust_analyzer lsp in single file mode #84

zakissimo opened this issue Mar 30, 2024 · 3 comments

Comments

@zakissimo
Copy link

Hi! Thanks for this plugin!

Not really an issue but I don't know where else to ask.
rust_analyzer needs a rust-project.json file at the root of the project to launch in non cargo mode.
How do you achieve that ?

Zak

@kawre
Copy link
Owner

kawre commented Apr 7, 2024

All of the solutions are stored in :lua print(vim.fn.stdpath("data") .. "/leetcode")

@zakissimo
Copy link
Author

zakissimo commented Apr 7, 2024

Solved here.

@GustavoJCL
Copy link

how did you configured after running cargo init?

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

3 participants