hotfix for ability to use more than one inline context provider

This commit is contained in:
Nate 2024-09-02 13:08:26 -07:00
parent 49014fe968
commit 176ed6403e
4 changed files with 9 additions and 2 deletions

View file

@ -0,0 +1,3 @@
## 0.8.50 - 2024-09-02
### Fixed
* Hotfix for ability to use more than one inline context provider

View file

@ -5,6 +5,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and is generated by [Changie](https://github.com/miniscruff/changie).
## 0.8.50 - 2024-09-02
### Fixed
* Hotfix for ability to use more than one inline context provider
## 0.8.49 - 2024-09-01
### Fixed
* Hotfix: submenu context providers

View file

@ -2,7 +2,7 @@
"name": "continue",
"icon": "media/icon.png",
"author": "Continue Dev, Inc",
"version": "0.8.49",
"version": "0.8.50",
"repository": {
"type": "git",
"url": "https://github.com/continuedev/continue"

View file

@ -63,7 +63,7 @@ export const Mention = Node.create<MentionOptions>({
const allow = !!$from.parent.type.contentMatch.matchType(type);
// Check if there's a space after the "@"
const textFrom = range.from - 1;
const textFrom = range.from;
const textTo = state.selection.$to.pos;
const text = state.doc.textBetween(textFrom, textTo);
const hasSpace = text.includes(" ");