From fb9dff181eb30246d7218c29f5cd35079f3b7212 Mon Sep 17 00:00:00 2001 From: Nate Fischer Date: Fri, 10 Jul 2015 11:46:08 -0700 Subject: [PATCH] Vundle log, changelog, and scripts-view are no longer modifiable and the buffers will not persist after they're closed. --- autoload/vundle/scripts.vim | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/autoload/vundle/scripts.vim b/autoload/vundle/scripts.vim index 5d56476..6a72998 100644 --- a/autoload/vundle/scripts.vim +++ b/autoload/vundle/scripts.vim @@ -63,6 +63,10 @@ func! s:view_log() endif call writefile(g:vundle#log, s:log_file) execute 'silent pedit ' . s:log_file + set bufhidden=wipe + setl buftype=nofile + setl noswapfile + setl ro noma wincmd P | wincmd H endf @@ -116,6 +120,10 @@ func! s:view_changelog() endif call writefile(s:create_changelog(), s:changelog_file) execute 'silent pedit' s:changelog_file + set bufhidden=wipe + setl buftype=nofile + setl noswapfile + setl ro noma wincmd P | wincmd H endf @@ -160,6 +168,7 @@ func! vundle#scripts#view(title, headers, results) setl buftype=nofile setl noswapfile + set bufhidden=wipe setl cursorline setl nonu ro noma