generated from mirrors/plugin-sample-vite-svelte
Optimization
All checks were successful
Build on Push and create Release on Tag / build (push) Successful in 3m58s
All checks were successful
Build on Push and create Release on Tag / build (push) Successful in 3m58s
This commit is contained in:
parent
b7c81d1fa0
commit
68025b9a34
2 changed files with 32 additions and 22 deletions
|
|
@ -114,7 +114,8 @@ export default class SpellCheckPlugin extends Plugin {
|
|||
|
||||
if(settings.enabled) {
|
||||
await this.suggestions.storeBlocks(protyle, settings.language)
|
||||
void this.suggestions.forAllBlocksSuggest(true, true)
|
||||
const useOnline = this.settingsUtil.get('online');
|
||||
void this.suggestions.forAllBlocksSuggest(true, true, useOnline ? undefined : 10);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue