提交 315f8c83 编写于 作者: J Johannes Rieken

on config changes, only update preview documents, fixes #8491

上级 ea47e6a1
......@@ -49,8 +49,9 @@ export function activate(context: ExtensionContext) {
});
vscode.workspace.onDidChangeConfiguration(() => {
vscode.workspace.textDocuments.forEach((document) => {
if (isMarkdownFile) {
vscode.workspace.textDocuments.forEach(document => {
if (document.uri.scheme === 'markdown') {
// update all generated md documents
provider.update(document.uri);
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册