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 {
114
114
_contributionProvider . onContributionsChanged ( ( ) => {
115
115
// Markdown plugin contributions may have changed
116
116
this . _md = undefined ;
117
+ this . _tokenCache . clean ( ) ;
117
118
} ) ;
118
119
}
119
120
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class MarkdownPreview extends Disposable implements WebviewResourceProvider {
95
95
}
96
96
97
97
this . _register ( _contributionProvider . onContributionsChanged ( ( ) => {
98
- setTimeout ( ( ) => this . refresh ( ) , 0 ) ;
98
+ setTimeout ( ( ) => this . refresh ( true ) , 0 ) ;
99
99
} ) ) ;
100
100
101
101
this . _register ( vscode . workspace . onDidChangeTextDocument ( event => {
You can’t perform that action at this time.
0 commit comments