mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-01-23 07:08:27 +00:00
Merge branch 'master' into devel
This commit is contained in:
commit
a8f3a0dd59
@ -330,7 +330,7 @@ function! s:common_sink(action, lines) abort
|
|||||||
if has('win32unix') && item !~ '/'
|
if has('win32unix') && item !~ '/'
|
||||||
let item = substitute(item, '\', '/', 'g')
|
let item = substitute(item, '\', '/', 'g')
|
||||||
end
|
end
|
||||||
if item[0] != '~' && item !~ (s:is_win ? '^[A-Z]:\' : '^/')
|
if item[0] != '~' && item !~ (s:is_win ? '^\([A-Z]:\)\?\' : '^/')
|
||||||
let sep = s:is_win ? '\' : '/'
|
let sep = s:is_win ? '\' : '/'
|
||||||
let item = join([cwd, item], cwd[len(cwd)-1] == sep ? '' : sep)
|
let item = join([cwd, item], cwd[len(cwd)-1] == sep ? '' : sep)
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user