Skip to content

Commit 5f726c8

Browse files
feat: update to latest Copilot LSP (#493)
fixes #479
1 parent a620a5a commit 5f726c8

File tree

5 files changed

+495
-435
lines changed

5 files changed

+495
-435
lines changed

copilot/js/api/types.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,16 @@ export interface ResolveRequest {
117117
* After the time budget runs out, the request will be cancelled via the CancellationToken.
118118
* Providers can use this value as a hint when computing context. Providers should expect the
119119
* request to be cancelled once the time budget runs out.
120+
*
121+
* @deprecated Use `timeoutEnd` instead.
120122
*/
121123
timeBudget: number;
122124

125+
/**
126+
* Unix timestamp representing the exact time the request will be cancelled via the CancellationToken.
127+
*/
128+
timeoutEnd: number;
129+
123130
/**
124131
* Various statistics about the last completion request. This can be used by the context provider
125132
* to make decisions about what context to provide for the current call.

copilot/js/main.js

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

copilot/js/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/js/tree-sitter-cpp.wasm

3.05 MB
Binary file not shown.

lua/copilot/util.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function M.get_editor_info()
1313
editorPluginInfo = {
1414
name = "copilot.lua",
1515
-- reflects version of github/copilot-language-server-release
16-
version = "1.323.0",
16+
version = "1.324.0",
1717
},
1818
}
1919
return info

0 commit comments

Comments
 (0)