How to ask Copilot using Neovim

Currently I am using ITerm2 for my Terminal and using Neovim for my editor. To use Copilot, you need to follow instructions [here](https://github.com/github/copilot.vim). You also need to subscribe to github Copilot if you want really want it to help you with your workflow.
Now, going to the main event, Let say you already setup your Copilot in Neovim and subscribe to it, open your neovim and then open your working file.
Let’s say you are working with a javascript file.
In this javascript file, you need to calculate sum. In order for Copilot to do it in your ITerm2 using Neovim all you have to do is;
Create a comment and add an instruction that you want to create a function that computes the sum.
Second, point your cursor to the instruction you have made
hit
:Copilot panelor:Copilotby default if you do not pass any argument, it will fire up the Copilot panel command.And voula!, it will synthesize and generate code for you.
// create a function that computes the sum of two numbers
// and returns the result
function add(a, b) {
return a + b
}





