File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -115,8 +115,6 @@ export class RazorDocumentManager implements IRazorDocumentManager {
115
115
const watcher = vscode . workspace . createFileSystemWatcher ( RazorLanguage . globbingPattern ) ;
116
116
const didCreateRegistration = watcher . onDidCreate (
117
117
async ( uri : vscode . Uri ) => this . addDocument ( uri ) ) ;
118
- const didDeleteRegistration = watcher . onDidDelete (
119
- async ( uri : vscode . Uri ) => this . removeDocument ( uri ) ) ;
120
118
const didOpenRegistration = vscode . workspace . onDidOpenTextDocument ( async document => {
121
119
if ( document . languageId !== RazorLanguage . id ) {
122
120
return ;
@@ -142,7 +140,6 @@ export class RazorDocumentManager implements IRazorDocumentManager {
142
140
return vscode . Disposable . from (
143
141
watcher ,
144
142
didCreateRegistration ,
145
- didDeleteRegistration ,
146
143
didOpenRegistration ,
147
144
didCloseRegistration ) ;
148
145
}
You can’t perform that action at this time.
0 commit comments