mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
deco - update decorations when gitignore-file changes
This commit is contained in:
@@ -28,7 +28,7 @@ export class ExtHostDecorations implements ExtHostDecorationsShape {
|
||||
this._proxy.$registerDecorationProvider(handle, label);
|
||||
|
||||
const listener = provider.onDidChangeDecorations(e => {
|
||||
this._proxy.$onDidChange(handle, Array.isArray(e) ? e : [e]);
|
||||
this._proxy.$onDidChange(handle, !e ? null : Array.isArray(e) ? e : [e]);
|
||||
});
|
||||
|
||||
return new Disposable(() => {
|
||||
|
||||
Reference in New Issue
Block a user