mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
💄
This commit is contained in:
@@ -1084,7 +1084,7 @@ class InlineCompletionAdapter {
|
||||
throw new Error('text or insertText must be defined');
|
||||
}
|
||||
return ({
|
||||
text: typeof insertText === 'string' ? insertText : { snippet: insertText.value },
|
||||
insertText: typeof insertText === 'string' ? insertText : { snippet: insertText.value },
|
||||
range: item.range ? typeConvert.Range.from(item.range) : undefined,
|
||||
command,
|
||||
idx: idx,
|
||||
@@ -1179,7 +1179,7 @@ class InlineCompletionAdapterNew {
|
||||
throw new Error('text or insertText must be defined');
|
||||
}
|
||||
return ({
|
||||
text: typeof insertText === 'string' ? insertText : { snippet: insertText.value },
|
||||
insertText: typeof insertText === 'string' ? insertText : { snippet: insertText.value },
|
||||
range: item.range ? typeConvert.Range.from(item.range) : undefined,
|
||||
command,
|
||||
idx: idx,
|
||||
|
||||
Reference in New Issue
Block a user