mirror of
https://github.com/neovim/neovim.git
synced 2026-05-03 20:45:02 +00:00
vim-patch:9.1.1646: MS-Windows: completion cannot handle implicit drive letters
Problem: MS-Windows: completion cannot handle implicit drive letters
Solution: Consider paths like \folder and /folder as absolute
(Miguel Barro).
closes: vim/vim#17829
a2f13bf782
Co-authored-by: Miguel Barro <miguel.barro@live.com>
This commit is contained in:
@@ -3735,7 +3735,8 @@ func Test_isabsolutepath()
|
||||
call assert_true(isabsolutepath('A:\Foo'))
|
||||
call assert_true(isabsolutepath('A:/Foo'))
|
||||
call assert_false(isabsolutepath('A:Foo'))
|
||||
call assert_false(isabsolutepath('\Windows'))
|
||||
call assert_true(isabsolutepath('\Windows'))
|
||||
call assert_true(isabsolutepath('/Windows'))
|
||||
call assert_true(isabsolutepath('\\Server2\Share\Test\Foo.txt'))
|
||||
else
|
||||
call assert_true(isabsolutepath('/'))
|
||||
|
||||
Reference in New Issue
Block a user