diff --git a/manifest.json b/manifest.json index 157b8ca..b97532a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "companion", "name": "Companion", - "version": "1.4.0", + "version": "1.5.0", "minAppVersion": "1.1.16", "description": "Autocomplete with AI, including ChatGPT, through a copilot-like interface.", "author": "rizerphe", diff --git a/package.json b/package.json index f146e76..43c88be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-companion", - "version": "1.4.0", + "version": "1.5.0", "description": "Autocomplete with AI, including ChatGPT, through a copilot-like interface.", "main": "main.js", "scripts": { diff --git a/src/cache.ts b/src/cache.ts index 20d40b5..c5fd95b 100644 --- a/src/cache.ts +++ b/src/cache.ts @@ -66,7 +66,8 @@ export class CompletionCacher { 0, findLastRegexIndex( new RegExp( - this.accept_settings.splitter_regex + this.accept_settings.splitter_regex, + "gi" ), completion ) diff --git a/versions.json b/versions.json index c0122d5..c3ebb6b 100644 --- a/versions.json +++ b/versions.json @@ -15,5 +15,6 @@ "1.3.3": "1.1.16", "1.3.4": "1.1.16", "1.3.5": "1.1.16", - "1.4.0": "1.1.16" + "1.4.0": "1.1.16", + "1.5.0": "1.1.16" } \ No newline at end of file