-
Notifications
You must be signed in to change notification settings - Fork 59.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add necessary bits to install and enable copilot. #18833
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
3a279d8
Add necessary bits to install and enable copilot.
georgalis d8d9e5f
Add tildie to path for clarity
georgalis c665136
Update getting-started-with-github-copilot-in-neovim.md
georgalis 0abc792
plugin clarification per @djensenius request
georgalis 800f611
Merge branch 'main' into patch-2
jules-p 03a55b3
Update getting-started-with-github-copilot-in-neovim.md
jules-p e2d7cc1
Update getting-started-with-github-copilot-in-neovim.md
jules-p 0124e70
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 8cc18da
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 4d8dc46
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 6e116c7
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 6121c1b
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 7b4d0d3
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 335ca3c
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 93ceee5
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 115251d
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 00d7d5a
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 532e5bc
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 08bee99
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 75819c4
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p d617d3e
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 21b82b0
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 2371083
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p d7491d7
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 3aff5b5
Merge branch 'main' into patch-2
jules-p 2c41580
Merge branch 'main' into patch-2
jules-p 66b1d4e
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p e3ccaa7
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p 2ee29e3
Merge branch 'main' into patch-2
jules-p ff9b5d2
Merge branch 'main' into patch-2
jules-p a1af268
Update content/copilot/getting-started-with-github-copilot/getting-st…
jules-p c66d493
refactor and simplify setup doc
georgalis 79a3ab8
Update config-enable-copilot-in-neovim.md
jules-p e512ae8
Update getting-started-with-github-copilot-in-neovim.md
jules-p 973a25d
Update getting-started-with-github-copilot-in-neovim.md
jules-p b2df6dd
Merge branch 'main' into patch-2
jules-p ed3e20b
Update getting-started-with-github-copilot-in-neovim.md
jules-p 36d0911
Merge branch 'main' into patch-2
jules-p File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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`. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The correct path on Windows is
~/AppData/Local/nvim/pack/github/start/copilot.vim
. Unfortunately it's not quite a drop-in replacement, as~
and\
are specific to UNIX shells. In the copilot.vim README, I'm currently suggesting the following PowerShell command: