When I open ranger inside of nvim and use the command :e filename, a nested instance of nvim is opened.
To reproduce:
Step 1
Open a neovim instance:

Step 2
Open ranger.vim and type :e filename.txt

Step 3
Press enter to get a nested instance of nvim running inside

nvim's terminal: