Skip to content

Commit 4931ee9

Browse files
committed
Revert "revert: back to before the binary update (#412)"
This reverts commit 2072371.
1 parent 2072371 commit 4931ee9

34 files changed

+449
-301658
lines changed

.github/workflows/update-copilot-dist.yaml

Lines changed: 0 additions & 37 deletions
This file was deleted.

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ require('copilot').setup({
129129

130130
return true
131131
end,
132+
lsp_binary = nil,
132133
server_opts_overrides = {},
133134
})
134135
```
@@ -279,16 +280,6 @@ When `log_lsp_messages` is true, LSP log messages (`window/logMessage`) events w
279280

280281
Careful turning on all logging features as the log files may get very large over time, and are not pruned by the application.
281282

282-
### copilot_node_command
283-
284-
Use this field to provide the path to a specific node version such as one installed by nvm. Node.js version must be 18.x or newer.
285-
286-
Example:
287-
288-
```lua
289-
copilot_node_command = vim.fn.expand("$HOME") .. "/.config/nvm/versions/node/v18.18.2/bin/node", -- Node.js version must be > 18.x
290-
```
291-
292283
### server_opts_overrides
293284

294285
Override copilot lsp client settings. The `settings` field is where you can set the values of the options defined in [SettingsOpts.md](./SettingsOpts.md).
@@ -353,6 +344,18 @@ require("copilot").setup {
353344
}
354345
```
355346

347+
### lsp_binary
348+
349+
This allows you to specify the path to the copilot lsp binary.
350+
This will disable the download of the binary and use the one specified.
351+
example:
352+
353+
```lua
354+
require("copilot").setup {
355+
lsp_binary = "/home/user/.local/bin/copilot-language-server",
356+
}
357+
```
358+
356359
## Commands
357360

358361
`copilot.lua` defines the `:Copilot` command that can perform various actions. It has completion support, so try it out.

copilot/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!.gitignore
3+
!package.json
-318 KB
Binary file not shown.
-1.96 MB
Binary file not shown.
-318 KB
Binary file not shown.
-2.13 MB
Binary file not shown.
-191 KB
Binary file not shown.
-1.96 MB
Binary file not shown.
-195 KB
Binary file not shown.

0 commit comments

Comments
 (0)