I'm using autochange of the working directory to current:
autocmd BufEnter * silent! lcd %:p:h
So I don't want to install 'vim-rooter' but without this plugin your code seems are using whole path to find related settings file (not path to root folder).