Show header level in markdown Fixes #25574

This commit is contained in:
Matt Bierner
2017-05-02 13:38:01 -07:00
parent 4b9a244cbf
commit 36ce3d156f
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ export default class MDDocumentSymbolProvider implements vscode.DocumentSymbolPr
provideDocumentSymbols(document: vscode.TextDocument): vscode.ProviderResult<vscode.SymbolInformation[]> {
const toc = new TableOfContentsProvider(this.engine, document);
return toc.getToc().map(entry => {
return new vscode.SymbolInformation(entry.text, vscode.SymbolKind.Module, '', entry.location);
return new vscode.SymbolInformation(entry.text, vscode.SymbolKind.Namespace, '', entry.location);
});
}
}