Skip to content

Commit

Permalink
try to fix suggestions crash because no configuration receivied
Browse files Browse the repository at this point in the history
we can't know:
1. Wether plugin is active and it received configuration
2. When it becomes active and ready to do it
  • Loading branch information
zardoy committed Jun 20, 2022
1 parent 4c27a0f commit ed2810e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ export const activate = async () => {
if (affectsConfiguration(process.env.IDS_PREFIX!)) syncConfig()
})
syncConfig()
setTimeout(() => syncConfig(), 500)
setTimeout(() => syncConfig(), 1500)
}

0 comments on commit ed2810e

Please sign in to comment.