Revert "fix: disable virtual extmarks for file/agent mentions (#4731)"
This reverts commit 673dbeee09.
This commit is contained in:
parent
4d2b265dc4
commit
3ff0eb3065
2 changed files with 2 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ export function Autocomplete(props: {
|
||||||
const extmarkId = input.extmarks.create({
|
const extmarkId = input.extmarks.create({
|
||||||
start: extmarkStart,
|
start: extmarkStart,
|
||||||
end: extmarkEnd,
|
end: extmarkEnd,
|
||||||
|
virtual: true,
|
||||||
styleId,
|
styleId,
|
||||||
typeId: props.promptPartTypeId(),
|
typeId: props.promptPartTypeId(),
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -310,6 +310,7 @@ export function Prompt(props: PromptProps) {
|
||||||
const extmarkId = input.extmarks.create({
|
const extmarkId = input.extmarks.create({
|
||||||
start,
|
start,
|
||||||
end,
|
end,
|
||||||
|
virtual: true,
|
||||||
styleId,
|
styleId,
|
||||||
typeId: promptPartTypeId,
|
typeId: promptPartTypeId,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue