Skip to content

Commit c2c4354

Browse files
committed
Copilot.vim 1.54.0
1 parent f3d66c1 commit c2c4354

File tree

10 files changed

+577
-517
lines changed

10 files changed

+577
-517
lines changed

autoload/copilot/client.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,7 @@ let s:vim_capabilities = {
630630
function! copilot#client#New() abort
631631
let opts = {}
632632
let instance = {'requests': {},
633+
\ 'name': 'GitHub Copilot',
633634
\ 'progress': {},
634635
\ 'workspaceFolders': {},
635636
\ 'after_initialized': [],

autoload/copilot/handlers.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ function! copilot#handlers#window_logMessage(params, ...) abort
22
call copilot#logger#Raw(get(a:params, 'type', 6), get(a:params, 'message', ''))
33
endfunction
44

5-
function! copilot#handlers#window_showMessageRequest(params, ...) abort
6-
let choice = inputlist([a:params.message . "\n\nRequest Actions:"] +
5+
function! copilot#handlers#window_showMessageRequest(params, instance, ...) abort
6+
let choice = inputlist([a:instance.name . "\n" . a:params.message . "\n\nRequest Actions:"] +
77
\ map(copy(get(a:params, 'actions', [])), { i, v -> (i + 1) . '. ' . v.title}))
88
return choice > 0 ? get(a:params.actions, choice - 1, v:null) : v:null
99
endfunction

autoload/copilot/version.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
function! copilot#version#String() abort
2-
return '1.53.0'
2+
return '1.54.0'
33
endfunction

copilot-language-server/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 GitHub
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
147 KB
Binary file not shown.
13.5 KB
Binary file not shown.

copilot-language-server/dist/main.js

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

copilot-language-server/dist/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.

copilot-language-server/package.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,34 @@
1010
"type": "git",
1111
"url": "git+https://github.com/github/copilot-language-server-release.git"
1212
},
13-
"license": "https://docs.github.com/en/site-policy/github-terms/github-terms-for-additional-products-and-features",
14-
"version": "1.356.0",
13+
"license": "MIT",
14+
"version": "1.367.0",
1515
"bin": {
1616
"copilot-language-server": "../dist/language-server.js"
1717
},
1818
"files": [
19-
"native/*-*/copilot-language-server*",
2019
"dist/language-server.js*",
2120
"dist/main.js*",
2221
"dist/diffWorker.js*",
2322
"dist/tree-sitter*.wasm",
2423
"dist/compiled/*/*/*.node",
2524
"dist/bin/**/*",
2625
"dist/resources",
27-
"dist/crypt32.node",
26+
"dist/crypt32*.node",
2827
"dist/api/types.d.ts"
2928
],
3029
"main": "./dist/main.js",
3130
"types": "./dist/api/types.d.ts",
3231
"dependencies": {
3332
"vscode-languageserver-protocol": "^3.17.5"
3433
},
35-
"build": "1732",
36-
"buildType": "prod"
34+
"optionalDependencies": {
35+
"@github/copilot-language-server-win32-x64": "1.367.0",
36+
"@github/copilot-language-server-linux-x64": "1.367.0",
37+
"@github/copilot-language-server-linux-arm64": "1.367.0",
38+
"@github/copilot-language-server-darwin-x64": "1.367.0",
39+
"@github/copilot-language-server-darwin-arm64": "1.367.0"
40+
},
41+
"buildType": "prod",
42+
"build": "1776"
3743
}

lua/_copilot.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ copilot.lsp_start_client = function(cmd, handler_names, opts, settings)
3535
id = start_client({
3636
cmd = cmd,
3737
cmd_cwd = vim.call('copilot#job#Cwd'),
38-
name = 'GitHub Copilot',
38+
name = opts.name,
3939
init_options = opts.initializationOptions,
4040
workspace_folders = workspace_folders,
4141
settings = settings,

0 commit comments

Comments
 (0)