deco - update decorations when gitignore-file changes

This commit is contained in:
Johannes Rieken
2017-10-18 10:06:02 +02:00
parent b2f4ba4dd7
commit ca2c107324
4 changed files with 23 additions and 11 deletions

View File

@@ -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(() => {