macbook-pro-de-oscar.home 2026-1-13:14:27:8
This commit is contained in:
@@ -7383,7 +7383,7 @@ var AutoCompleteSuggest = class _AutoCompleteSuggest extends import_obsidian7.Ed
|
||||
const currentFrontMatter = this.settings.enableFrontMatterComplement ? this.appHelper.getCurrentFrontMatter() : void 0;
|
||||
showDebugLog(`Current front matter is ${currentFrontMatter}`);
|
||||
const cl = this.appHelper.getCurrentLine(editor);
|
||||
if (equalsAsLiterals(this.previousCurrentLine, cl) && !this.runManually && !currentFrontMatter) {
|
||||
if (equalsAsLiterals(this.previousCurrentLine, cl) && !this.runManually && !currentFrontMatter && !this.isOpen) {
|
||||
this.previousCurrentLine = cl;
|
||||
onReturnNull("Don't show suggestions because there are no changes");
|
||||
return null;
|
||||
@@ -7431,7 +7431,7 @@ var AutoCompleteSuggest = class _AutoCompleteSuggest extends import_obsidian7.Ed
|
||||
return null;
|
||||
}
|
||||
const currentTokenSeparatedWhiteSpace = (_b = currentLineUntilCursor.split(" ").last()) != null ? _b : "";
|
||||
if (currentTokenSeparatedWhiteSpace === this.pastCurrentTokenSeparatedWhiteSpace && !this.runManually) {
|
||||
if (currentTokenSeparatedWhiteSpace === this.pastCurrentTokenSeparatedWhiteSpace && !this.runManually && !this.isOpen) {
|
||||
onReturnNull(
|
||||
`Don't show suggestions because currentTokenSeparatedWhiteSpace doesn't change`
|
||||
);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "various-complements",
|
||||
"name": "Various Complements",
|
||||
"version": "10.8.0",
|
||||
"version": "10.8.1",
|
||||
"minAppVersion": "0.16.0",
|
||||
"description": "This plugin enables you to complete words like the auto-completion of IDE",
|
||||
"author": "tadashi-aikawa",
|
||||
|
||||
Reference in New Issue
Block a user