Skip to content

Change the node LSP for the native binaries #7 #384

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

Merged
merged 49 commits into from
Mar 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
ec9922e
feat: update to latest copilot.vim/dist
AntoineGS Mar 12, 2025
061fd4f
feat: use allow changing the copilot model used
AntoineGS Mar 12, 2025
f5b9523
feat: initial support for workspaces
AntoineGS Mar 15, 2025
1c63ea5
refactor: autoformat changes, add typing for LSP, fix typo
AntoineGS Mar 15, 2025
2abd5ae
refactor: slightly improve startup error handling for better context …
AntoineGS Mar 15, 2025
11970ea
refactor: improve error message
AntoineGS Mar 15, 2025
b9ad169
fix: add missing copilot_model definition in config
AntoineGS Mar 16, 2025
6f16292
Merge branch 'gpt4o' into workspaceFolders
AntoineGS Mar 16, 2025
5d3c8aa
fix: missing copilot.lua version
AntoineGS Mar 16, 2025
827f1a1
Merge branch 'upgrade_copilot.vim' into gpt4o
AntoineGS Mar 16, 2025
c659294
Merge branch 'gpt4o' into workspaceFolders
AntoineGS Mar 16, 2025
3718ae5
refactor: resolve all Lua LSP warnings
AntoineGS Mar 16, 2025
98ef99a
feat: add support for dynamic root_dir resolving
AntoineGS Mar 16, 2025
a846a33
Merge branch 'dynamic_root_dir'
AntoineGS Mar 16, 2025
97cd020
feat: add support for dynamic root_dir resolving
AntoineGS Mar 16, 2025
4d63d59
Merge branch 'dynamic_root_dir'
AntoineGS Mar 16, 2025
9319a38
style: auto-format
AntoineGS Mar 18, 2025
863b40a
fix: add missing capability for workspaces
AntoineGS Mar 18, 2025
4026e44
Merge branch 'workspaceFolders' into warning_cleanup
AntoineGS Mar 18, 2025
e5b5400
Merge branch 'warning_cleanup' into dynamic_root_dir
AntoineGS Mar 18, 2025
f18b484
Merge branch 'dynamic_root_dir'
AntoineGS Mar 18, 2025
cc79063
fix: prevent agent service not initialized
AntoineGS Mar 18, 2025
ca58d30
feat: add logger and redirect existing prints/notifies through it
AntoineGS Mar 18, 2025
736b1fb
Merge branch 'fix_RPC'
AntoineGS Mar 18, 2025
7b20c71
Merge remote-tracking branch 'origin/logger'
AntoineGS Mar 18, 2025
9a1f3ce
feat: convert to the compiled binary of the LSP server
AntoineGS Mar 20, 2025
7b6b208
fix: :Copilot auth would not work with table.unpack, reverting
AntoineGS Mar 20, 2025
4c689d2
Merge branch 'master' into workspaceFolders
AntoineGS Mar 21, 2025
b9c3101
Merge branch 'workspaceFolders' into warning_cleanup
AntoineGS Mar 21, 2025
4007882
Merge branch 'warning_cleanup' into dynamic_root_dir
AntoineGS Mar 21, 2025
2349063
Merge branch 'dynamic_root_dir' into logger
AntoineGS Mar 21, 2025
4086100
Merge branch 'logger' into copilot_binaries
AntoineGS Mar 21, 2025
818071b
Merge branch 'master' into copilot_binaries
AntoineGS Mar 21, 2025
1bfb64c
remove committed binaries
AntoineGS Mar 21, 2025
8eaf5e1
major rewrite
AntoineGS Mar 21, 2025
bc33038
Merge branch 'master' into copilot_binaries
AntoineGS Mar 22, 2025
ddeab0f
Merge branch 'master' into copilot_binaries
AntoineGS Mar 22, 2025
6981ae8
Merge branch 'master' into copilot_binaries
AntoineGS Mar 23, 2025
483235b
docs: fix duplicated block in readme
AntoineGS Mar 23, 2025
a810e9c
Merge branch 'master' into copilot_binaries
AntoineGS Mar 23, 2025
e7f89f8
fix: highlight themes not being honored
AntoineGS Mar 23, 2025
83e7d3d
Merge branch 'master' into copilot_binaries
AntoineGS Mar 23, 2025
acbb399
fix: remove utils folder as copilot-cmp referred to filenames
AntoineGS Mar 24, 2025
3d98eb2
upgrade to 291
AntoineGS Mar 25, 2025
b46297e
ci: no more need for PRs to update Copilot
AntoineGS Mar 25, 2025
887a4e5
Merge branch 'master' into copilot_binaries
AntoineGS Mar 26, 2025
7b78d29
fix: prevent attaching LSP if download fails
AntoineGS Mar 26, 2025
166cf7e
chore: bump copilot to v1.292
AntoineGS Mar 26, 2025
99f38c2
Merge branch 'master' into copilot_binaries
AntoineGS Mar 26, 2025
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.

10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,16 +279,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
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