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
2 changes: 1 addition & 1 deletion autoload/copilot/client.vim
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ function! copilot#client#New() abort
\ 'Attach': function('s:NvimAttach'),
\ 'IsAttached': function('s:NvimIsAttached'),
\ })
let instance.client_id = eval("v:lua.require'_copilot'.lsp_start_client(command, keys(instance.methods), opts, settings)")
let instance.client_id = eval("v:lua.require'_copilot'.lsp_start_client(command, instance.name, keys(instance.methods), opts, settings)")
let instance.id = instance.client_id
else
call extend(instance, {
Expand Down
2 changes: 1 addition & 1 deletion autoload/copilot/version.vim
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
function! copilot#version#String() abort
return '1.54.0'
return '1.55.0'
endfunction
1,354 changes: 690 additions & 664 deletions copilot-language-server/dist/main.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

Binary file not shown.
Binary file modified copilot-language-server/dist/tree-sitter-cpp.wasm
100644 → 100755
Binary file not shown.
Binary file modified copilot-language-server/dist/tree-sitter-go.wasm
Binary file not shown.
Binary file modified copilot-language-server/dist/tree-sitter-java.wasm
Binary file not shown.
Binary file modified copilot-language-server/dist/tree-sitter-javascript.wasm
Binary file not shown.
Binary file modified copilot-language-server/dist/tree-sitter-php.wasm
100644 → 100755
Binary file not shown.
Binary file modified copilot-language-server/dist/tree-sitter-python.wasm
Binary file not shown.
Binary file not shown.
Binary file modified copilot-language-server/dist/tree-sitter-ruby.wasm
Binary file not shown.
Binary file not shown.
Binary file modified copilot-language-server/dist/tree-sitter-tsx.wasm
Binary file not shown.
Binary file modified copilot-language-server/dist/tree-sitter-typescript.wasm
Binary file not shown.
Binary file modified copilot-language-server/dist/tree-sitter.wasm
Binary file not shown.
14 changes: 7 additions & 7 deletions copilot-language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "git+https://github.com/github/copilot-language-server-release.git"
},
"license": "MIT",
"version": "1.367.0",
"version": "1.371.0",
"bin": {
"copilot-language-server": "../dist/language-server.js"
},
Expand All @@ -32,12 +32,12 @@
"vscode-languageserver-protocol": "^3.17.5"
},
"optionalDependencies": {
"@github/copilot-language-server-win32-x64": "1.367.0",
"@github/copilot-language-server-linux-x64": "1.367.0",
"@github/copilot-language-server-linux-arm64": "1.367.0",
"@github/copilot-language-server-darwin-x64": "1.367.0",
"@github/copilot-language-server-darwin-arm64": "1.367.0"
"@github/copilot-language-server-win32-x64": "1.371.0",
"@github/copilot-language-server-linux-x64": "1.371.0",
"@github/copilot-language-server-linux-arm64": "1.371.0",
"@github/copilot-language-server-darwin-x64": "1.371.0",
"@github/copilot-language-server-darwin-arm64": "1.371.0"
},
"buildType": "prod",
"build": "1776"
"build": "1784"
}
4 changes: 2 additions & 2 deletions lua/_copilot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local showDocument = function(err, result, ctx, _)
end
end

copilot.lsp_start_client = function(cmd, handler_names, opts, settings)
copilot.lsp_start_client = function(cmd, client_name, handler_names, opts, settings)
local handlers = {['window/showDocument'] = showDocument}
local id
for _, name in ipairs(handler_names) do
Expand All @@ -35,7 +35,7 @@ copilot.lsp_start_client = function(cmd, handler_names, opts, settings)
id = start_client({
cmd = cmd,
cmd_cwd = vim.call('copilot#job#Cwd'),
name = opts.name,
name = client_name,
init_options = opts.initializationOptions,
workspace_folders = workspace_folders,
settings = settings,
Expand Down
Loading