I'm planning to try GitHub Copilot. Turns out it can be integrated with Vim. https://github.com/github/copilot.vim