🚑 fix autocomplete by binding function
This commit is contained in:
parent
05f4722e7f
commit
66ae9f2405
2 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
git st{
|
||||
{
|
||||
"title": "config.json",
|
||||
"$ref": "#/definitions/SerializedContinueConfig",
|
||||
"definitions": {
|
||||
|
|
@ -1063,7 +1063,7 @@ git st{
|
|||
"outline",
|
||||
"postgres",
|
||||
"code",
|
||||
"OS"
|
||||
"system"
|
||||
],
|
||||
"markdownEnumDescriptions": [
|
||||
"Reference the contents of the current changes as given by `git diff`",
|
||||
|
|
@ -1084,7 +1084,7 @@ git st{
|
|||
"Displays definition lines from the currently open files",
|
||||
"References Postgres table schema and sample rows",
|
||||
"Reference specific functions and classes from throughout your codebase",
|
||||
"Reference your operating system with cpu"
|
||||
"Reference your operating system and cpu"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ export class ContinueCompletionProvider
|
|||
this.completionProvider = new CompletionProvider(
|
||||
this.configHandler,
|
||||
this.ide,
|
||||
this.tabAutocompleteModel.get,
|
||||
this.tabAutocompleteModel.get.bind(this.tabAutocompleteModel),
|
||||
this.onError.bind(this),
|
||||
getDefinitionsFromLsp,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue