do not write to file or create swap
This commit is contained in:
parent
d893507b4f
commit
1fce117e54
@ -67,9 +67,13 @@ func! vundle#scripts#view(title, headers, results)
|
|||||||
|
|
||||||
let g:vundle_view = bufnr('%')
|
let g:vundle_view = bufnr('%')
|
||||||
|
|
||||||
|
|
||||||
call append(0, a:headers + results)
|
call append(0, a:headers + results)
|
||||||
|
|
||||||
setl ft=vundle
|
setl ft=vundle
|
||||||
|
setl buftype=nofile
|
||||||
|
setl noswapfile
|
||||||
|
|
||||||
call vundle#scripts#setup_view()
|
call vundle#scripts#setup_view()
|
||||||
" goto first line after headers
|
" goto first line after headers
|
||||||
exec ':'.(len(a:headers) + 1)
|
exec ':'.(len(a:headers) + 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user