Change file_at_revision to set bufhidden=delete

This commit is contained in:
Talia 2018-04-12 08:43:20 +02:00
parent 2735e3ab59
commit d547733432

1
vimrc
View file

@ -415,6 +415,7 @@ function! s:file_at_revision(rev)
exec "r!git show ".a:rev.":".l:fname
setl nomodifiable
setl buftype=nofile
setl bufhidden=delete
let &filetype = l:ftype
let b:git_original_file = l:fname