Skip to content

Commit f21a928

Browse files
committed
bug fix
1 parent 9993384 commit f21a928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/providers/jediHelpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export function extractSignatureAndDocumentation(definition: proxy.IAutoComplete
4040

4141
export function extractHoverInfo(definition: proxy.IAutoCompleteItem): vscode.Hover {
4242
const parts = extractSignatureAndDocumentation(definition);
43-
const hoverInfo: vscode.MarkedString[] = [{ language: 'python', value: parts[0] }];
43+
const hoverInfo: vscode.MarkedString[] = parts[0].length === 0 ? [] : [{ language: 'python', value: parts[0] }];
4444
if (parts[1].length > 0) {
4545
hoverInfo.push(parts[1]);
4646
}

0 commit comments

Comments
 (0)