this post was submitted on 29 Jun 2023
13 points (100.0% liked)

Neovim

2091 readers
250 users here now

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 3 points 1 year ago (3 children)

I've had great success with https://github.com/airblade/vim-rooter, for rust projects and many others

[โ€“] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Nice! Didn't know I need it

load more comments (2 replies)