Change file_at_revision to set bufhidden=delete
This commit is contained in:
parent
2735e3ab59
commit
d547733432
1 changed files with 1 additions and 0 deletions
1
vimrc
1
vimrc
|
@ -415,6 +415,7 @@ function! s:file_at_revision(rev)
|
||||||
exec "r!git show ".a:rev.":".l:fname
|
exec "r!git show ".a:rev.":".l:fname
|
||||||
setl nomodifiable
|
setl nomodifiable
|
||||||
setl buftype=nofile
|
setl buftype=nofile
|
||||||
|
setl bufhidden=delete
|
||||||
let &filetype = l:ftype
|
let &filetype = l:ftype
|
||||||
|
|
||||||
let b:git_original_file = l:fname
|
let b:git_original_file = l:fname
|
||||||
|
|
Loading…
Reference in a new issue