Set default complete property value
This commit is contained in:
parent
5fa8877862
commit
5ecada5b23
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ export default class CompletionsInteractor {
|
||||||
let settings = await this.settingRepository.get();
|
let settings = await this.settingRepository.get();
|
||||||
let groups = [];
|
let groups = [];
|
||||||
|
|
||||||
for (let c of settings.properties.complete) {
|
let complete = settings.properties.complete || properties.defaults.complete;
|
||||||
|
for (let c of complete) {
|
||||||
if (c === 's') {
|
if (c === 's') {
|
||||||
// eslint-disable-next-line no-await-in-loop
|
// eslint-disable-next-line no-await-in-loop
|
||||||
let engines = await this.querySearchEngineItems(name, keywords);
|
let engines = await this.querySearchEngineItems(name, keywords);
|
||||||
|
|
Reference in a new issue