mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
update setting since we support non-untitled editors for language detection and clean up code a tad.
This commit is contained in:
@@ -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.languageDetection');
|
||||
const settingResult = vscode.workspace.getConfiguration().get<boolean>('workbench.editor.languageDetection');
|
||||
assert.ok(settingResult);
|
||||
|
||||
const result = await editor.edit(editBuilder => {
|
||||
|
||||
Reference in New Issue
Block a user