fix: disable virtual extmarks for file/agent mentions (#4731)
This commit is contained in:
parent
5288041782
commit
673dbeee09
2 changed files with 0 additions and 2 deletions
|
|
@ -81,7 +81,6 @@ 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,7 +310,6 @@ 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