File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
extensions/markdown-language-features/src Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ export class MarkdownItEngine implements IMdParser {
114114 _contributionProvider . onContributionsChanged ( ( ) => {
115115 // Markdown plugin contributions may have changed
116116 this . _md = undefined ;
117+ this . _tokenCache . clean ( ) ;
117118 } ) ;
118119 }
119120
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class MarkdownPreview extends Disposable implements WebviewResourceProvider {
9595 }
9696
9797 this . _register ( _contributionProvider . onContributionsChanged ( ( ) => {
98- setTimeout ( ( ) => this . refresh ( ) , 0 ) ;
98+ setTimeout ( ( ) => this . refresh ( true ) , 0 ) ;
9999 } ) ) ;
100100
101101 this . _register ( vscode . workspace . onDidChangeTextDocument ( event => {
You can’t perform that action at this time.
0 commit comments