Fix env autocomplete result if searchKey starts with `${`

pull/5292/head
GogoVega 2025-10-08 14:41:20 +02:00
parent 0c92332033
commit 90d5776f79
No known key found for this signature in database
GPG Key ID: E1E048B63AC5AC2B
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@
optEl.appendTo(element);
}
matches.push({
value: isSubkey ? val + v + '}' : v,
value: isSubkey ? val.substring(0, i + 2) + v + '}' : v,
label: element,
i: valMatch.index
});