Fix checking out files in subdirectories

This commit is contained in:
Talia 2018-04-12 14:02:10 +02:00
parent f86a4aeb9b
commit 9aed3c09c9

3
vimrc
View file

@ -390,9 +390,10 @@ function! s:file_at_revision(rev)
let l:fname = b:git_original_file
let l:ftail = fnamemodify(b:git_original_file, ":t")
else
let l:fname = expand("%:t")
let l:fname = expand("%")
let l:ftail = expand("%:t")
end
let l:fname = substitute(l:fname, "\\\\", "/", "g")
let l:ftype = &filetype
ene!