Skip to content

Commit

Permalink
Update installing-the-github-copilot-extension-in-your-environment.md
Browse files Browse the repository at this point in the history
Switched the Neovim and Vim install instructions around.

This is as:
- If someone was installing copilot on Neovim, they would reasonably come across the vim section, follow the instructions and then realise, as they scroll down, they did it incorrectly,
- On the other hand, if someone was installing it on vim, they would be much less likely to read the Neovim part and believe it was for them.

To further emphasise the difference between the sections, as they are hard to tell apart, I put vim and neovim in italics in the subheadings.
  • Loading branch information
sammyhori committed Jul 12, 2024
1 parent 6f41145 commit cfc8dc7
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,32 +100,32 @@ To see instructions for other popular coding environments, use the tool switcher

1. Install {% data variables.product.prodname_copilot %} using the built-in plugin manager:

* For **Vim on macOS or Linux**, run the following command in the terminal.
* For **_Neovim_ on macOS or Linux**, run the following command in the terminal.

```shell copy
git clone https://github.com/github/copilot.vim \
~/.vim/pack/github/start/copilot.vim
~/.config/nvim/pack/github/start/copilot.vim
```

* For **Vim on Windows**, run the following command in Git Bash:
* For **_Neovim_ on Windows**, run the following command in Git Bash:

```shell copy
git clone https://github.com/github/copilot.vim.git \
$HOME/vimfiles/pack/github/start/copilot.vim
$HOME/AppData/Local/nvim/pack/github/start/copilot.vim
```

* For **Neovim on macOS or Linux**, run the following command in the terminal.
* For **_Vim_ on macOS or Linux**, run the following command in the terminal.

```shell copy
git clone https://github.com/github/copilot.vim \
~/.config/nvim/pack/github/start/copilot.vim
~/.vim/pack/github/start/copilot.vim
```

* For **Neovim on Windows**, run the following command in Git Bash:
* For **_Vim_ on Windows**, run the following command in Git Bash:

```shell copy
git clone https://github.com/github/copilot.vim.git \
$HOME/AppData/Local/nvim/pack/github/start/copilot.vim
$HOME/vimfiles/pack/github/start/copilot.vim
```

{% data reusables.copilot.config-enable-copilot-in-vimneovim %}
Expand Down

0 comments on commit cfc8dc7

Please sign in to comment.