Skip to content

Commit 45a9797

Browse files
preserveFocus on window
1 parent 6dc18bc commit 45a9797

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/extension.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ function evalJsonnet(params: ExecuteCommandParams, yaml: boolean, tempFile: stri
189189
window.showTextDocument(uri, {
190190
preview: true,
191191
viewColumn: ViewColumn.Beside,
192+
preserveFocus: true,
192193
});
193194
}
194195
})
@@ -200,6 +201,7 @@ function evalJsonnet(params: ExecuteCommandParams, yaml: boolean, tempFile: stri
200201
window.showTextDocument(uri, {
201202
preview: true,
202203
viewColumn: ViewColumn.Beside,
204+
preserveFocus: true,
203205
});
204206
}
205207
});

0 commit comments

Comments
 (0)