Skip to content

Commit 81aa9dc

Browse files
committed
fix: ensure nesting icon is in correct state on startup
1 parent b85f39f commit 81aa9dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/task.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export class TaskExtension {
2020
this._watcher = vscode.workspace.createFileSystemWatcher("**/*.{yml,yaml}");
2121
this._nesting = settings.tree.nesting;
2222
this._status = settings.tree.status;
23+
vscode.commands.executeCommand('setContext', 'vscode-task:treeNesting', this._nesting);
2324
}
2425

2526
public async update(checkForUpdates?: boolean): Promise<void> {

0 commit comments

Comments
 (0)