Skip to content

Commit 264af4e

Browse files
author
Michael Klier
committed
let the user know if some buffers contain unsaved changes on quit
1 parent 7c42aa8 commit 264af4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugin/dokuvimki.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,8 @@ class DokuVimKi:
724724

725725
if len(unsaved) == 0:
726726
vim.command('silent! quitall')
727+
else:
728+
print >>sys.stdout, "Some buffers contain unsaved changes. Use DWquit! if you really want to quit."
727729

728730

729731
def help(self):

0 commit comments

Comments
 (0)