Is there a simple script or plugin that uses patterns to get the root project directory path of a rust project in lua? The pattern should be to vheck for ‘Cargo.lock’ file
Is there a simple script or plugin that uses patterns to get the root project directory path of a rust project in lua? The pattern should be to vheck for ‘Cargo.lock’ file
Another good option, and the one lazyvim went with, is ahmedkhalf/project.nvim
Ended up using
nvim-rooter
. I modified (copy pasted) some of its scripts into a fork ofnvim-dap-projects
to help setupnvim-dap
for a better rust debugging experience. Thanks for the suggestion