Borked the gpg signing :(

This commit is contained in:
2022-11-25 08:58:10 +01:00
parent 539eccdd3e
commit 7f18165d32
69 changed files with 82457 additions and 1502 deletions

View File

@@ -2253,7 +2253,7 @@ var CompletrPlugin = class extends import_obsidian5.Plugin {
constructor() {
super(...arguments);
this.onFileOpened = (file) => {
if (!this.settings.fileScannerScanCurrent || !file)
if (!this.settings.fileScannerProviderEnabled || !this.settings.fileScannerScanCurrent || !file)
return;
FileScanner.scanFile(this.settings, file, true);
};
@@ -2327,7 +2327,8 @@ var CompletrPlugin = class extends import_obsidian5.Plugin {
],
editorCallback: (editor) => {
this._suggestionPopup.trigger(editor, this.app.workspace.getActiveFile(), true);
}
},
isVisible: () => !this._suggestionPopup.isVisible()
});
this.addCommand({
id: "completr-select-next-suggestion",