From 3a279d8868d1d2fd5c497c6f69f0c6390e7ecb9d Mon Sep 17 00:00:00 2001 From: George Georgalis Date: Mon, 27 Jun 2022 19:06:17 -0700 Subject: [PATCH 01/31] Add necessary bits to install and enable copilot. No need to send users down the rabbit hole of how many legacy ways to install vim plugins... Simply direct them to use the new builtin nvim plugin support. --- ...etting-started-with-github-copilot-in-neovim.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 178c8a821500..0bcb7d539905 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -47,6 +47,8 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo ``` git clone https://github.com/github/copilot.vim \ ~/.config/PATH/TO/YOUR/NEOVIM/CONFIG/FILE/copilot.vim + ``` + 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. ``` @@ -59,17 +61,23 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo {% linux %} {% data reusables.copilot.install-copilot-in-neovim %} - - To install the {% data variables.product.prodname_copilot %} plugin directly, you must know where Neovim stores plugins. To install the plugin, enter the following command in Git Bash. + - To install the {% data variables.product.prodname_copilot %} plugin with the builtin Neovim plugin manager, enter the following shell commands to clone the {% data variables.product.prodname_copilot %} release. ``` - git clone https://github.com/github/copilot.vim \ - ~/.config/PATH/TO/YOUR/NEOVIM/CONFIG/FILE/copilot.vim + mkdir -p .config/nvim/pack/github/start + git clone https://github.com/github/copilot.vim.git \ + ~/.config/nvim/pack/github/start/copilot.vim ``` +1. Visit https://github.com/settings/copilot and complete the required steps. 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. ``` :Copilot setup ``` +1. Enable {% data variables.product.prodname_copilot %} in your Neovim configuration, or with the Neovim command. + ``` + :Copilot enable + ``` {% endlinux %} ## Learning to use {% data variables.product.prodname_copilot %} in Neovim From d8d9e5f34e05e630b538863feb73ec4e5b93d4b0 Mon Sep 17 00:00:00 2001 From: George Georgalis Date: Mon, 27 Jun 2022 19:19:17 -0700 Subject: [PATCH 02/31] Add tildie to path for clarity --- .../getting-started-with-github-copilot-in-neovim.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 0bcb7d539905..22c411aaaa24 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -64,9 +64,9 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - To install the {% data variables.product.prodname_copilot %} plugin with the builtin Neovim plugin manager, enter the following shell commands to clone the {% data variables.product.prodname_copilot %} release. ``` - mkdir -p .config/nvim/pack/github/start + mkdir -p ~/.config/nvim/pack/github/start git clone https://github.com/github/copilot.vim.git \ - ~/.config/nvim/pack/github/start/copilot.vim + ~/.config/nvim/pack/github/start/copilot.vim ``` 1. Visit https://github.com/settings/copilot and complete the required steps. 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. From c665136f78e5ea0eb8a9f9235b6104842c1130b0 Mon Sep 17 00:00:00 2001 From: George Georgalis Date: Mon, 27 Jun 2022 22:40:54 -0700 Subject: [PATCH 03/31] Update getting-started-with-github-copilot-in-neovim.md adjust referenced repo from ``` https://github.com/github/copilot.vim.git ``` to ``` https://github.com/github/copilot.vim ``` I'm not sure this makes a difference with regard to `private repositories` if not, perhaps the test should check PUBLIC_REPOS with .git as valid. --- .../getting-started-with-github-copilot-in-neovim.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 22c411aaaa24..9290e82294f7 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -65,7 +65,7 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo ``` mkdir -p ~/.config/nvim/pack/github/start - git clone https://github.com/github/copilot.vim.git \ + git clone https://github.com/github/copilot.vim \ ~/.config/nvim/pack/github/start/copilot.vim ``` 1. Visit https://github.com/settings/copilot and complete the required steps. From 0abc792291d923c8d93bb888538a7e9ef6f69ae8 Mon Sep 17 00:00:00 2001 From: George Georgalis Date: Wed, 27 Jul 2022 08:36:54 -0700 Subject: [PATCH 04/31] plugin clarification per @djensenius request --- .../getting-started-with-github-copilot-in-neovim.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 9290e82294f7..9455141c84b7 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -61,8 +61,7 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo {% linux %} {% data reusables.copilot.install-copilot-in-neovim %} - - To install the {% data variables.product.prodname_copilot %} plugin with the builtin Neovim plugin manager, enter the following shell commands to clone the {% data variables.product.prodname_copilot %} release. - +1. Use the following commands to clone the {% data variables.product.prodname_copilot %} release for loading with the Neovim builtin plugin manager. (Or, use another plugin manager of your choice.) ``` mkdir -p ~/.config/nvim/pack/github/start git clone https://github.com/github/copilot.vim \ From 03a55b3e35e081907076353717f647dfe08d0ec3 Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 9 Aug 2022 16:37:39 +0200 Subject: [PATCH 05/31] Update getting-started-with-github-copilot-in-neovim.md --- ...g-started-with-github-copilot-in-neovim.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 625d111c14c1..d8dfc85ba661 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -24,12 +24,13 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo {% mac %} {% data reusables.copilot.install-copilot-in-neovim %} - - To install the {% data variables.product.prodname_copilot %} plugin directly, you must know where Neovim stores plugins. To install the plugin, enter the following command in Terminal. + - To install {% data variables.product.prodname_copilot %} with the Neovim builtin plugin manager, enter the following command in Terminal. - ``` - git clone https://github.com/github/copilot.vim \ - PATH/TO/NEOVIM/PLUGINS/copilot.vim - ``` + ``` + mkdir -p ~/.config/nvim/pack/github/start + git clone https://github.com/github/copilot.vim \ + ~/.config/nvim/pack/github/start/copilot.vim + ``` 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. ``` @@ -42,11 +43,12 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo {% windows %} {% data reusables.copilot.install-copilot-in-neovim %} - - To install the {% data variables.product.prodname_copilot %} plugin directly, you must know where Neovim stores plugins. To install the plugin, enter the following command in Git Bash. + - To install {% data variables.product.prodname_copilot %} with the Neovim builtin plugin manager, enter the following command in Git Bash. ``` + mkdir -p ~/.config/nvim/pack/github/start git clone https://github.com/github/copilot.vim \ - ~/.config/PATH/TO/YOUR/NEOVIM/CONFIG/FILE/copilot.vim + ~/.config/nvim/pack/github/start/copilot.vim ``` 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. @@ -61,7 +63,8 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo {% linux %} {% data reusables.copilot.install-copilot-in-neovim %} -1. Use the following commands to clone the {% data variables.product.prodname_copilot %} release for loading with the Neovim builtin plugin manager. (Or, use another plugin manager of your choice.) + - To install {% data variables.product.prodname_copilot %} with the Neovim builtin plugin manager, enter the following command in Terminal. + ``` mkdir -p ~/.config/nvim/pack/github/start git clone https://github.com/github/copilot.vim \ From e2d7cc189495ef18cf9146aff965aef0c99fb72f Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 9 Aug 2022 16:52:25 +0200 Subject: [PATCH 06/31] Update getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index d8dfc85ba661..70271d0d5bd6 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -24,7 +24,7 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo {% mac %} {% data reusables.copilot.install-copilot-in-neovim %} - - To install {% data variables.product.prodname_copilot %} with the Neovim builtin plugin manager, enter the following command in Terminal. + - To install {% data variables.product.prodname_copilot %} with a plugin manager, enter the following command in Terminal. ``` mkdir -p ~/.config/nvim/pack/github/start @@ -43,7 +43,7 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo {% windows %} {% data reusables.copilot.install-copilot-in-neovim %} - - To install {% data variables.product.prodname_copilot %} with the Neovim builtin plugin manager, enter the following command in Git Bash. + - To install {% data variables.product.prodname_copilot %} with a plugin manager, enter the following command in Git Bash. ``` mkdir -p ~/.config/nvim/pack/github/start @@ -63,7 +63,7 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo {% linux %} {% data reusables.copilot.install-copilot-in-neovim %} - - To install {% data variables.product.prodname_copilot %} with the Neovim builtin plugin manager, enter the following command in Terminal. + - To install {% data variables.product.prodname_copilot %} with a plugin manager, enter the following command in Terminal. ``` mkdir -p ~/.config/nvim/pack/github/start From 0124e70e4c35fc1f3df89f302aa7eee788501c77 Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 07:51:36 +0200 Subject: [PATCH 07/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 70271d0d5bd6..073090bf590a 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -24,7 +24,13 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo {% mac %} {% data reusables.copilot.install-copilot-in-neovim %} - - To install {% data variables.product.prodname_copilot %} with a plugin manager, enter the following command in Terminal. + - To install {% data variables.product.prodname_copilot %} with Neovim's built-in plugin manager, enter the following command in Terminal. + + mkdir -p ~/.config/nvim/pack/github/start + git clone https://github.com/github/copilot.vim \ + ~/.config/nvim/pack/github/start/copilot.vim + + - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. ``` mkdir -p ~/.config/nvim/pack/github/start From 8cc18da44d369af5b6014461a801e9b31ccc83b5 Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 07:51:57 +0200 Subject: [PATCH 08/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 073090bf590a..fe5f00725444 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -32,7 +32,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. - ``` mkdir -p ~/.config/nvim/pack/github/start git clone https://github.com/github/copilot.vim \ ~/.config/nvim/pack/github/start/copilot.vim From 4d8dc465c227a022b41075527e09fcf467b73b92 Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 07:52:15 +0200 Subject: [PATCH 09/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index fe5f00725444..64f4053deabb 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -32,7 +32,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. - mkdir -p ~/.config/nvim/pack/github/start git clone https://github.com/github/copilot.vim \ ~/.config/nvim/pack/github/start/copilot.vim ``` From 6e116c7ec6a195900919a075379ab50e18da14e9 Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 07:52:35 +0200 Subject: [PATCH 10/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 64f4053deabb..6b4db4887202 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -32,7 +32,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. - git clone https://github.com/github/copilot.vim \ ~/.config/nvim/pack/github/start/copilot.vim ``` 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. From 6121c1b3ae003da1a743e441de024698adde1107 Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 07:52:51 +0200 Subject: [PATCH 11/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 6b4db4887202..930d910e46fa 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -32,7 +32,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. - ~/.config/nvim/pack/github/start/copilot.vim ``` 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. From 7b4d0d3d415f4229b11c331960b86d10fa8ed58b Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 07:53:07 +0200 Subject: [PATCH 12/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 930d910e46fa..70c63c94b5e5 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -45,7 +45,13 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo {% windows %} {% data reusables.copilot.install-copilot-in-neovim %} - - To install {% data variables.product.prodname_copilot %} with a plugin manager, enter the following command in Git Bash. + - To install {% data variables.product.prodname_copilot %} with Neovim's built-in plugin manager, enter the following command in Git Bash. + + mkdir -p ~/.config/nvim/pack/github/start + git clone https://github.com/github/copilot.vim \ + ~/.config/nvim/pack/github/start/copilot.vim + + - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. ``` mkdir -p ~/.config/nvim/pack/github/start From 335ca3ccc2a96661afe23254faabcd7769fc9e18 Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 07:53:25 +0200 Subject: [PATCH 13/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 70c63c94b5e5..3ef02fd779a1 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -32,7 +32,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. - ``` 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. ``` From 93ceee52e8fe3d6f5c485902adfc9398c99260bb Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 07:53:38 +0200 Subject: [PATCH 14/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 3ef02fd779a1..275482b0ed29 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -52,7 +52,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. - ``` mkdir -p ~/.config/nvim/pack/github/start git clone https://github.com/github/copilot.vim \ ~/.config/nvim/pack/github/start/copilot.vim From 115251d3e588c6a8bd3ac429977c761d9de6396d Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 07:53:50 +0200 Subject: [PATCH 15/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 275482b0ed29..7f1904c5bde8 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -52,7 +52,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. - mkdir -p ~/.config/nvim/pack/github/start git clone https://github.com/github/copilot.vim \ ~/.config/nvim/pack/github/start/copilot.vim ``` From 00d7d5a2018e8e6b0e4dc0bd834c4ab2a150927b Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 07:54:04 +0200 Subject: [PATCH 16/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 7f1904c5bde8..495d8b906bb4 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -52,7 +52,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. - git clone https://github.com/github/copilot.vim \ ~/.config/nvim/pack/github/start/copilot.vim ``` From 532e5bc21de2cf5ddc1cff16ee29fe3ee9308d35 Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 07:54:17 +0200 Subject: [PATCH 17/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 495d8b906bb4..ae8725f88746 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -52,7 +52,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. - ~/.config/nvim/pack/github/start/copilot.vim ``` 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. From 08bee99dbacc55ea6bb6ba9483424a825c84c6ee Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 07:59:22 +0200 Subject: [PATCH 18/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index ae8725f88746..85c9f1d3bf4d 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -52,7 +52,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. - ``` 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. From 75819c493929bd475e1d0b6f2ecdbf0c24859e80 Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 08:05:51 +0200 Subject: [PATCH 19/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 85c9f1d3bf4d..bb49db69d6c3 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -65,7 +65,13 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo {% linux %} {% data reusables.copilot.install-copilot-in-neovim %} - - To install {% data variables.product.prodname_copilot %} with a plugin manager, enter the following command in Terminal. + - To install {% data variables.product.prodname_copilot %} with Neovim's built-in plugin manager, enter the following command in Terminal. + + mkdir -p ~/.config/nvim/pack/github/start + git clone https://github.com/github/copilot.vim \ + ~/.config/nvim/pack/github/start/copilot.vim + + - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. ``` mkdir -p ~/.config/nvim/pack/github/start From d617d3e568416b7edcc318c6bcf0adb12cb85a6b Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 08:06:01 +0200 Subject: [PATCH 20/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index bb49db69d6c3..e724dee9a39a 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -74,7 +74,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. ``` - mkdir -p ~/.config/nvim/pack/github/start git clone https://github.com/github/copilot.vim \ ~/.config/nvim/pack/github/start/copilot.vim ``` From 21b82b08f7e8f54069cfa8c85d2bbc6290aab533 Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 08:06:14 +0200 Subject: [PATCH 21/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index e724dee9a39a..c2b9ed68bd46 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -74,7 +74,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. ``` - git clone https://github.com/github/copilot.vim \ ~/.config/nvim/pack/github/start/copilot.vim ``` 1. Visit https://github.com/settings/copilot and complete the required steps. From 2371083979de7c6ea3df6186eca70c22b493908c Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 08:06:30 +0200 Subject: [PATCH 22/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index c2b9ed68bd46..ac67562a9bcb 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -74,7 +74,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. ``` - ~/.config/nvim/pack/github/start/copilot.vim ``` 1. Visit https://github.com/settings/copilot and complete the required steps. 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. From d7491d74cdcc3cfa704623e1639fc48ec64d53b1 Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 08:22:20 +0200 Subject: [PATCH 23/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index ac67562a9bcb..c863d6ea9005 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -74,7 +74,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. ``` - ``` 1. Visit https://github.com/settings/copilot and complete the required steps. 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. From 66b1d4e378eff876c7578e0e6e8293338f5eb4c4 Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 09:49:30 +0200 Subject: [PATCH 24/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index c863d6ea9005..1e195cf20347 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -51,7 +51,7 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo ~/.config/nvim/pack/github/start/copilot.vim - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. - +1. Visit https://github.com/settings/copilot and complete the required steps. 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. From e3ccaa7b7a8ad0eba7e176df0e0de414685de22b Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 09:49:57 +0200 Subject: [PATCH 25/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 1e195cf20347..4cfe4e2a21b4 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -31,6 +31,7 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo ~/.config/nvim/pack/github/start/copilot.vim - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. +1. Visit https://github.com/settings/copilot and complete the required steps. 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. From a1af2686f991b5da710a3013453b525ea254893f Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Tue, 23 Aug 2022 16:33:49 +0200 Subject: [PATCH 26/31] Update content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 4cfe4e2a21b4..b358b7325d2b 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -74,7 +74,6 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. - ``` 1. Visit https://github.com/settings/copilot and complete the required steps. 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. From c66d493a870cd10020ee31cd5370d4ba0bc14d25 Mon Sep 17 00:00:00 2001 From: George Georgalis Date: Wed, 24 Aug 2022 07:16:28 -0700 Subject: [PATCH 27/31] refactor and simplify setup doc --- ...g-started-with-github-copilot-in-neovim.md | 45 +++++-------------- .../config-enable-copilot-in-neovim.md | 8 ++++ .../copilot/install-copilot-in-neovim.md | 3 +- 3 files changed, 20 insertions(+), 36 deletions(-) create mode 100644 data/reusables/copilot/config-enable-copilot-in-neovim.md diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index b358b7325d2b..a1deced0be4a 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -17,7 +17,9 @@ If you use a Neovim, you can view and incorporate suggestions from {% data varia ## Prerequisites -To use {% data variables.product.prodname_copilot %} in Neovim you must have Neovim and Node.js version 17 or below installed. For more information, see the [Neovim documentation](https://neovim.io/doc/) and the [Node.js website](https://nodejs.org/en/). +1. Visit https://github.com/settings/copilot and make a code sharing selection. + +1. To use {% data variables.product.prodname_copilot %} in Neovim you must have Neovim and Node.js version 17 or below installed. For more information, see the [Neovim documentation](https://neovim.io/doc/) and the [Node.js website](https://nodejs.org/en/). ## Installing the Neovim extension @@ -29,15 +31,8 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo mkdir -p ~/.config/nvim/pack/github/start git clone https://github.com/github/copilot.vim \ ~/.config/nvim/pack/github/start/copilot.vim - - - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. -1. Visit https://github.com/settings/copilot and complete the required steps. - -1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. - ``` - :Copilot setup - ``` +{% data reusables.copilot.config-enable-copilot-in-neovim %} {% endmac %} @@ -50,15 +45,8 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo mkdir -p ~/.config/nvim/pack/github/start git clone https://github.com/github/copilot.vim \ ~/.config/nvim/pack/github/start/copilot.vim - - - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. -1. Visit https://github.com/settings/copilot and complete the required steps. -1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. - - ``` - :Copilot setup - ``` +{% data reusables.copilot.config-enable-copilot-in-neovim %} {% endwindows %} @@ -66,32 +54,21 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo {% linux %} {% data reusables.copilot.install-copilot-in-neovim %} - - To install {% data variables.product.prodname_copilot %} with Neovim's built-in plugin manager, enter the following command in Terminal. + - To install {% data variables.product.prodname_copilot %} with Neovim's built-in plugin manager, enter the following command: mkdir -p ~/.config/nvim/pack/github/start git clone https://github.com/github/copilot.vim \ ~/.config/nvim/pack/github/start/copilot.vim - - - Alternatively, if you use a third-party plugin manager, use the plugin manager to install `github/copilot.vim`. - -1. Visit https://github.com/settings/copilot and complete the required steps. -1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. - - ``` - :Copilot setup - ``` -1. Enable {% data variables.product.prodname_copilot %} in your Neovim configuration, or with the Neovim command. - ``` - :Copilot enable - ``` + +{% data reusables.copilot.config-enable-copilot-in-neovim %} + {% endlinux %} ## Learning to use {% data variables.product.prodname_copilot %} in Neovim For guidance on using {% data variables.product.prodname_copilot %} in Neovim, you can view the plugin documentation. To see the documentation, open Neovim and run the following command. -``` -:help copilot -``` + + :help copilot ## Further reading diff --git a/data/reusables/copilot/config-enable-copilot-in-neovim.md b/data/reusables/copilot/config-enable-copilot-in-neovim.md new file mode 100644 index 000000000000..334e2bde40e9 --- /dev/null +++ b/data/reusables/copilot/config-enable-copilot-in-neovim.md @@ -0,0 +1,8 @@ +1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. + + :Copilot setup + +1. Enable {% data variables.product.prodname_copilot %} in your Neovim configuration, or with the Neovim command. + + :Copilot enable + diff --git a/data/reusables/copilot/install-copilot-in-neovim.md b/data/reusables/copilot/install-copilot-in-neovim.md index d2de9c1036ae..4b10c8048b82 100644 --- a/data/reusables/copilot/install-copilot-in-neovim.md +++ b/data/reusables/copilot/install-copilot-in-neovim.md @@ -1,2 +1 @@ -1. To use {% data variables.product.prodname_copilot %} in Neovim, install the {% data variables.product.prodname_copilot %} plugin. You can either install the plugin from a plugin manager or directly. - - If you use a plugin manager like vim-plug or packer.nvim, use the plugin manager to install `github/copilot.vim`. For more information, see the documentation for the plugin manager. For example, you can see the documentation for [vim-plug](https://github.com/junegunn/vim-plug) or [packer.nvim](https://github.com/wbthomason/packer.nvim). +1. {% data variables.product.prodname_dotcom %} recommends that you install the {% data variables.product.prodname_copilot %} plugin with Neovim's built-in plugin manager. Alternatively, you can use a plugin manager of your choice to install `github/copilot.vim`. From 79a3ab8d824cf3a179dbdc7173a3ac4696da98c5 Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Thu, 1 Sep 2022 07:55:20 +0200 Subject: [PATCH 28/31] Update config-enable-copilot-in-neovim.md --- data/reusables/copilot/config-enable-copilot-in-neovim.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data/reusables/copilot/config-enable-copilot-in-neovim.md b/data/reusables/copilot/config-enable-copilot-in-neovim.md index 334e2bde40e9..5ffb61eaa55f 100644 --- a/data/reusables/copilot/config-enable-copilot-in-neovim.md +++ b/data/reusables/copilot/config-enable-copilot-in-neovim.md @@ -1,8 +1,11 @@ 1. To configure {% data variables.product.prodname_copilot %}, open Neovim and enter the following command. + ``` :Copilot setup + ``` 1. Enable {% data variables.product.prodname_copilot %} in your Neovim configuration, or with the Neovim command. + ``` :Copilot enable - + ``` From e512ae8ca4d3a4ca8925fa1d21bbe6af77d9fa1c Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Thu, 1 Sep 2022 08:10:23 +0200 Subject: [PATCH 29/31] Update getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index a1deced0be4a..6ce590d930b5 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -68,7 +68,9 @@ If you use a Neovim, you can view and incorporate suggestions from {% data varia For guidance on using {% data variables.product.prodname_copilot %} in Neovim, you can view the plugin documentation. To see the documentation, open Neovim and run the following command. + ``` :help copilot + ``` ## Further reading From 973a25d70e6f07b66ff10b7c73f13a41a24da01e Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Thu, 1 Sep 2022 08:30:19 +0200 Subject: [PATCH 30/31] Update getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 6ce590d930b5..313beb175a66 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -17,9 +17,9 @@ If you use a Neovim, you can view and incorporate suggestions from {% data varia ## Prerequisites -1. Visit https://github.com/settings/copilot and make a code sharing selection. +- To use {% data variables.product.prodname_copilot %} you must have an active {% data variables.product.prodname_copilot %} subscription. For more information, see "[About billing for {% data variables.product.prodname_copilot %}](/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot)." -1. To use {% data variables.product.prodname_copilot %} in Neovim you must have Neovim and Node.js version 17 or below installed. For more information, see the [Neovim documentation](https://neovim.io/doc/) and the [Node.js website](https://nodejs.org/en/). +- To use {% data variables.product.prodname_copilot %} in Neovim you must have Neovim and Node.js version 17 or below installed. For more information, see the [Neovim documentation](https://neovim.io/doc/) and the [Node.js website](https://nodejs.org/en/). ## Installing the Neovim extension From ed3e20b2ec30683bf68bdd24b8a86ccf8f0ffa07 Mon Sep 17 00:00:00 2001 From: Jules <19994093+jules-p@users.noreply.github.com> Date: Wed, 28 Sep 2022 12:01:39 +0200 Subject: [PATCH 31/31] Update getting-started-with-github-copilot-in-neovim.md --- .../getting-started-with-github-copilot-in-neovim.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md index 313beb175a66..d2ee7472265a 100644 --- a/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md +++ b/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-neovim.md @@ -28,7 +28,6 @@ If you use a Neovim, you can view and incorporate suggestions from {% data varia {% data reusables.copilot.install-copilot-in-neovim %} - To install {% data variables.product.prodname_copilot %} with Neovim's built-in plugin manager, enter the following command in Terminal. - mkdir -p ~/.config/nvim/pack/github/start git clone https://github.com/github/copilot.vim \ ~/.config/nvim/pack/github/start/copilot.vim @@ -42,9 +41,8 @@ If you use a Neovim, you can view and incorporate suggestions from {% data varia {% data reusables.copilot.install-copilot-in-neovim %} - To install {% data variables.product.prodname_copilot %} with Neovim's built-in plugin manager, enter the following command in Git Bash. - mkdir -p ~/.config/nvim/pack/github/start - git clone https://github.com/github/copilot.vim \ - ~/.config/nvim/pack/github/start/copilot.vim + git clone https://github.com/github/copilot.vim.git ` + $HOME/AppData/Local/nvim/pack/github/start/copilot.vim {% data reusables.copilot.config-enable-copilot-in-neovim %} @@ -56,7 +54,6 @@ If you use a Neovim, you can view and incorporate suggestions from {% data varia {% data reusables.copilot.install-copilot-in-neovim %} - To install {% data variables.product.prodname_copilot %} with Neovim's built-in plugin manager, enter the following command: - mkdir -p ~/.config/nvim/pack/github/start git clone https://github.com/github/copilot.vim \ ~/.config/nvim/pack/github/start/copilot.vim