Ignore buffers with unsaved changes when deleting buffers
This commit is contained in:
parent
423eb03de4
commit
fbd690fc85
2 changed files with 3 additions and 1 deletions
|
@ -366,7 +366,7 @@ endfunction
|
|||
" Function: #session_delete_buffers {{{1
|
||||
function! startify#session_delete_buffers()
|
||||
if get(g:, 'startify_session_delete_buffers', 1)
|
||||
silent %bdelete
|
||||
silent! %bdelete
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue