For directory-specific vim settings, you can use .vimrc but when using neovim, you’ll need to use .nvimrc instead.
To get it all working, add the following to your init.nvim file:
set exrc
set secure
Using set secure will disable/disallow using autocmd settings
In the directory with vim