kawre / leetcode.nvim

A Neovim plugin enabling you to solve LeetCode problems.
MIT License
654 stars 34 forks source link

Running rust_analyzer lsp in single file mode #84

Closed zakissimo closed 2 months ago

zakissimo commented 3 months ago

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 commented 2 months ago

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

zakissimo commented 2 months ago

Solved here.

GustavoJCL commented 2 months ago

how did you configured after running cargo init?