aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authortao <2471314@gmail.com>2026-06-17 00:34:43 +0800
committerGitHub <noreply@github.com>2026-06-16 12:34:43 -0400
commit0a5f40c207f3f50d0693bd0c852e8bc059b40249 (patch)
tree8221e00c0764b4e6047143be4f3d6ec96a8c079c /runtime/lua/vim/provider/python.lua
parent355d010ddf1dac50fe72ab36fbfdddef2a60a379 (diff)
downloadrneovim-0a5f40c207f3f50d0693bd0c852e8bc059b40249.tar.gz
rneovim-0a5f40c207f3f50d0693bd0c852e8bc059b40249.tar.bz2
rneovim-0a5f40c207f3f50d0693bd0c852e8bc059b40249.zip
fix(path): open swapfile when using device path #39982
Problem: Can't open swapfile when using a device path starting with `//?/`, because `?` is a reserved char on Widnows. Solution: For device UNC paths, replace `//?/UNC/` and `//./UNC/` with `//`. For other device paths, just strip their prefix (i.e. `//?/`, `//./`). This aligns swapfile naming for device paths with regular UNC and DOS paths. Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions