When completeslash=slash is set on Windows, file paths containing slashes (/) cannot be opened via findfunc completion.
vim9script set completeslash=slash set findfunc=Find def Find(arg: string, _): list<string> if empty(filescache) autocmd CmdlineLeave : ++once filescache = [] filescache = expand('**', 1, 1)->filter((_, v) => !isdirectory(v)) endif return empty(arg) ? filescache : filescache->matchfuzzy(arg) enddef var filescache: list<string>
throw E345
don't throw E345
9.2.782
MS-Windows 11
CC: @glepnir
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
While set completeslash=backslash if findfunc return path with slash will also have this problem.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()