mirror of
https://github.com/fluencelabs/aqua-vscode
synced 2025-04-25 00:22:15 +00:00
fix empty settings (#44)
This commit is contained in:
parent
0f56c283a8
commit
906e40b273
@ -108,6 +108,9 @@ function getDocumentSettings(resource: string): Thenable<Settings> {
|
||||
scopeUri: resource,
|
||||
section: 'aquaSettings',
|
||||
});
|
||||
if (!result) {
|
||||
result = Promise.resolve(defaultSettings);
|
||||
}
|
||||
documentSettings.set(resource, result);
|
||||
}
|
||||
return result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user