This happened to me just recently, and I found out that the issue was that nvim was set to launch as administrator. Launching VScode as admin solved the problem temporarily, and changing the nvim properties to not launch as admin solved the problem permanently.