How to use GitHub Copilot with AstroVim 4

This took me a while to figure out.

In this file: ~/.config/nvim/lua/community.lua

You need to add the following line.

{ import = "astrocommunity.completion.copilot-lua-cmp" },

Then, when you start nvim again. Run :Copilot auth. This will trigger the setup and you'll be good to go!