For some reason this has recently been behaving (seemingly) identical to the 'home' value in non-project files.
Neovim version: NVIM v0.7.0-dev+890-g574a58220
Simplest nvim/init.vim: (I didn't actually test this example, but I took out things I knew would effect it, so this should recreate it)
call plug#begin()
Plug 'airblade/vim-rooter'
call plug#end()
let g:rooter_change_directory_for_non_project_files = 'current'
to recreate
Opening a .git project still works as expected (the directory of that project is printed, and running :cd confirms.)
Open a folder that rooter would not call a project. Your home directory will be printed, and the output of :cd will also agree that it's in your home directory.
For some reason this has recently been behaving (seemingly) identical to the
'home'value in non-project files.Neovim version:
NVIM v0.7.0-dev+890-g574a58220Simplest
nvim/init.vim: (I didn't actually test this example, but I took out things I knew would effect it, so this should recreate it)to recreate
Opening a
.gitproject still works as expected (the directory of that project is printed, and running:cdconfirms.)Open a folder that rooter would not call a project. Your home directory will be printed, and the output of
:cdwill also agree that it's in your home directory.