do not write to file or create swap

This commit is contained in:
gmarik 2011-08-11 23:17:42 -05:00
parent d893507b4f
commit 1fce117e54

View File

@ -67,9 +67,13 @@ func! vundle#scripts#view(title, headers, results)
let g:vundle_view = bufnr('%')
call append(0, a:headers + results)
setl ft=vundle
setl buftype=nofile
setl noswapfile
call vundle#scripts#setup_view()
" goto first line after headers
exec ':'.(len(a:headers) + 1)