File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
autoload/vital/__vital__/System Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,8 @@ function! s:contains(path, base) abort
280
280
return pathlist[: baselistlen - 1 ] == # baselist
281
281
endfunction
282
282
283
- if s: is_windows && exists (' +completeslash' )
283
+ if exists (' +completeslash' )
284
+ " completeslash bug in Windows and specific version range (Vim 8.1.1769 - Vim 8.2.1746)
284
285
function ! s: expand (path ) abort
285
286
let backup_completeslash = &completeslash
286
287
try
Original file line number Diff line number Diff line change @@ -124,13 +124,13 @@ Describe System.Filepath
124
124
125
125
Describe .expand_home()
126
126
if s:is_windows
127
- It [windows] non home path arre no expanded, there are same.
127
+ It [windows] non home path are no expanded, there are same.
128
128
let path = 'C:/Hoge'
129
129
let ret = FP.expand_home(path)
130
130
Assert Equals(ret, path)
131
131
End
132
132
else
133
- It [unix] non home path arre no expanded, there are same.
133
+ It [unix] non home path are no expanded, there are same.
134
134
let path = '/Hoge'
135
135
let ret = FP.expand_home(path)
136
136
Assert Equals(ret, path)
You can’t perform that action at this time.
0 commit comments