rename language detection setting and ensure one worker gets created

This commit is contained in:
Tyler Leonhardt
2021-08-12 13:38:46 -07:00
parent 418ae29191
commit 84abbfba40
4 changed files with 16 additions and 12 deletions

View File

@@ -20,7 +20,7 @@ suite('vscode - untitled automatic language detection', () => {
assert.strictEqual(editor.document.languageId, 'plaintext');
const settingResult = vscode.workspace.getConfiguration().get<boolean>('workbench.editor.untitled.experimentalLanguageDetection');
const settingResult = vscode.workspace.getConfiguration().get<boolean>('workbench.editor.untitled.languageDetection');
assert.ok(settingResult);
const result = await editor.edit(editBuilder => {