Fix bug in vim git script in file_at_revision function

This commit is contained in:
Talia 2020-02-14 11:03:40 +01:00
parent d44f3431a7
commit 509ea4128b

View file

@ -126,7 +126,7 @@ function! s:file_at_revision(rev)
ene!
set modifiable
silent exec "file ".l:ftail."@".a:rev
exec "r!git show ".a:rev.":".l:fname
exec "r!git show ".a:rev.":".system("git ls-files --full-name ".l:fname)
1,1del
setl nomodifiable
setl buftype=nofile