ahmedkhalf / project.nvim

The superior project management solution for neovim.
Apache License 2.0
1.29k stars 119 forks source link

Typing :ProjectRoot does not save the project to the list #114

Open JulianH99 opened 1 year ago

JulianH99 commented 1 year ago

I have manual_mode to true do to the weird detecting method that's switching my CWD whenever I enter a folder with a package.json inside, but now the plugin does not add any new folder opened to the project list

rubiin commented 5 months ago

You should do AddProject instead. The thing that readme bugs me is that manual_mode

Manual mode doesn't automatically change your root directory, so you have
  -- the option to manually do so using `:ProjectRoot` command.

There is no mention that projects won't be added if you turn on manual mode. As per readme , it just prevents the module from setting the root dir to cwd.

gmmoreira commented 3 months ago

Thanks @rubiin. I enabled project.nvim in LazyVim extras. LazyVim sets manual_mode to true and I could not understand why my project list was always empty and no project being detected. Didn't realize there's a AddProject command because it is not mentioned anywhere.