Browse Source

Vundle log, changelog, and scripts-view are no longer modifiable and the

buffers will not persist after they're closed.
pull/621/head
Nate Fischer 11 years ago
parent
commit
fb9dff181e
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      autoload/vundle/scripts.vim

+ 9
- 0
autoload/vundle/scripts.vim View File

@ -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


Loading…
Cancel
Save