refactor(core): drop filesystem entry mime
This commit is contained in:
@@ -305,11 +305,7 @@ export function Autocomplete(props: {
|
||||
startLine: input.lineStart,
|
||||
endLine: input.lineEnd > input.lineStart ? input.lineEnd : undefined,
|
||||
}
|
||||
const { filename, part } = createFilePart(
|
||||
{ path: item, type: "file", mime: "text/plain" },
|
||||
input.filePath,
|
||||
lineRange,
|
||||
)
|
||||
const { filename, part } = createFilePart({ path: item, type: "file" }, input.filePath, lineRange)
|
||||
const index = store.visible === "@" ? store.index : props.input().cursorOffset
|
||||
|
||||
setStore("visible", false)
|
||||
|
||||
Reference in New Issue
Block a user