mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 16:06:39 +03:00
Fixed misspelled function name in completion provider. No functional change.
This commit is contained in:
parent
7035c8361f
commit
963d80b192
@ -111,7 +111,12 @@ import {
|
||||
import { ParseResults } from '../parser/parser';
|
||||
import { StringToken, StringTokenFlags, Token, TokenType } from '../parser/tokenizerTypes';
|
||||
import { AbbreviationInfo, AutoImporter, AutoImportResult, ImportFormat, ModuleSymbolMap } from './autoImporter';
|
||||
import { CompletionDetail, getCompletionItemDocumention, getTypeDetail, SymbolDetail } from './completionProviderUtils';
|
||||
import {
|
||||
CompletionDetail,
|
||||
getCompletionItemDocumentation,
|
||||
getTypeDetail,
|
||||
SymbolDetail,
|
||||
} from './completionProviderUtils';
|
||||
import { DocumentSymbolCollector } from './documentSymbolCollector';
|
||||
import { IndexResults } from './documentSymbolProvider';
|
||||
import { getAutoImportText, getDocumentationPartsForTypeAndDecl } from './tooltipUtils';
|
||||
@ -2682,7 +2687,7 @@ export class CompletionProvider {
|
||||
);
|
||||
|
||||
if (this._options.format === MarkupKind.Markdown || this._options.format === MarkupKind.PlainText) {
|
||||
this._itemToResolve.documentation = getCompletionItemDocumention(
|
||||
this._itemToResolve.documentation = getCompletionItemDocumentation(
|
||||
typeDetail,
|
||||
documentation,
|
||||
this._options.format
|
||||
|
@ -137,7 +137,7 @@ export function getTypeDetail(
|
||||
}
|
||||
}
|
||||
|
||||
export function getCompletionItemDocumention(
|
||||
export function getCompletionItemDocumentation(
|
||||
typeDetail: string | undefined,
|
||||
documentation: string | undefined,
|
||||
markupKind: MarkupKind
|
||||
|
Loading…
Reference in New Issue
Block a user