fix appending to nomodifiable buffer

- closes #80
This commit is contained in:
gmarik 2011-11-04 00:08:44 -05:00
parent bf25e018bc
commit 8122fb1a96

View File

@ -47,6 +47,10 @@ func! vundle#scripts#view(title, headers, results)
wincmd P | wincmd H wincmd P | wincmd H
let g:vundle_view = bufnr('%') let g:vundle_view = bufnr('%')
"
" make buffer modifiable
" to append without errors
set modifiable
call append(0, a:headers + a:results) call append(0, a:headers + a:results)