diff options
| author | tao <2471314@gmail.com> | 2026-03-19 07:54:19 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-18 19:54:19 -0400 |
| commit | 19715e6e8a7145c8d4da39c9ebc2b09da5be74e7 (patch) | |
| tree | 5e409b55eb3ad6b06cbec3e1cd91d06633b94307 /runtime/lua/vim/provider/python.lua | |
| parent | f4f1149292aa0d085e312d3fd2138b5c2c1fb67d (diff) | |
fix(fs): expand drive-relative paths on Windows #37084
Problem:
On windows, if a drive-relative path doesn't contain a slash,
`path_to_absolute` can't split out the relative component, causing
expansion to fails. e.g., `c:` `c:.` `c:..` `c:foo.md`
Solution:
For these cases, we can pass letter and colon to `path_full_dir_name`.
Notably, `..` is included as well.
if that relative path exists, it can be expanded correctly.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions
