Skip to content

Commit 784f4eb

Browse files
committed
Merge branch 'master' into dev
2 parents 56621af + 228cd74 commit 784f4eb

File tree

4 files changed

+362
-351
lines changed

4 files changed

+362
-351
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ gh auth token
4444
Set either the environment variable `GITHUB_COPILOT_TOKEN` or `GH_COPILOT_TOKEN` to that token.
4545
Note that if you have the variable set, even empty, the LSP will attempt to use it to log in.
4646

47+
#### Authentication with Alternate GitHub Instances
48+
49+
If your access to Copilot is not provided by the public GitHub instance, you can set your
50+
authentication provider to a custom URL with the corresponding config key e.g.
51+
`auth_provider_url = "https://mycorp.ghe.com/"`.
52+
4753
## Setup and Configuration
4854

4955
You have to run the `require("copilot").setup(options)` function in order to start Copilot.
@@ -107,6 +113,7 @@ require('copilot').setup({
107113
cvs = false,
108114
["."] = false,
109115
},
116+
auth_provider_url = nil, -- URL to authentication provider, if not "https://github.com/"
110117
logger = {
111118
file = vim.fn.stdpath("log") .. "/copilot-lua.log",
112119
file_log_level = vim.log.levels.OFF,

copilot/js/main.js

Lines changed: 351 additions & 347 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

copilot/js/main.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lua/copilot/util.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function M.get_editor_info()
1313
editorPluginInfo = {
1414
name = "copilot.lua",
1515
-- reflects version of github/copilot-language-server-release
16-
version = "1.295.0",
16+
version = "1.296.0",
1717
},
1818
}
1919
return info

0 commit comments

Comments
 (0)