Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions .github/workflows/update-copilot-dist.yaml

This file was deleted.

23 changes: 13 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ require('copilot').setup({

return true
end,
lsp_binary = nil,
server_opts_overrides = {},
})
```
Expand Down Expand Up @@ -279,16 +280,6 @@ When `log_lsp_messages` is true, LSP log messages (`window/logMessage`) events w

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

### copilot_node_command

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.

Example:

```lua
copilot_node_command = vim.fn.expand("$HOME") .. "/.config/nvm/versions/node/v18.18.2/bin/node", -- Node.js version must be > 18.x
```

### server_opts_overrides

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

### lsp_binary

This allows you to specify the path to the copilot lsp binary.
This will disable the download of the binary and use the one specified.
example:

```lua
require("copilot").setup {
lsp_binary = "/home/user/.local/bin/copilot-language-server",
}
```

## Commands

`copilot.lua` defines the `:Copilot` command that can perform various actions. It has completion support, so try it out.
Expand Down
3 changes: 3 additions & 0 deletions copilot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!.gitignore
!package.json
Binary file removed copilot/dist/compiled/darwin/arm64/kerberos.node
Binary file not shown.
Binary file removed copilot/dist/compiled/darwin/arm64/node_sqlite3.node
Binary file not shown.
Binary file removed copilot/dist/compiled/darwin/x64/kerberos.node
Binary file not shown.
Binary file removed copilot/dist/compiled/darwin/x64/node_sqlite3.node
Binary file not shown.
Binary file removed copilot/dist/compiled/linux/arm64/kerberos.node
Binary file not shown.
Binary file removed copilot/dist/compiled/linux/arm64/node_sqlite3.node
Binary file not shown.
Binary file removed copilot/dist/compiled/linux/x64/kerberos.node
Binary file not shown.
Binary file removed copilot/dist/compiled/linux/x64/node_sqlite3.node
Binary file not shown.
Binary file removed copilot/dist/compiled/win32/x64/kerberos.node
Binary file not shown.
Binary file removed copilot/dist/compiled/win32/x64/node_sqlite3.node
Binary file not shown.
Binary file removed copilot/dist/crypt32.node
Binary file not shown.
1,128 changes: 0 additions & 1,128 deletions copilot/dist/language-server.js

This file was deleted.

6 changes: 0 additions & 6 deletions copilot/dist/language-server.js.map

This file was deleted.

Loading