From 264af4ed9440f550c121422ead496e538ba241e8 Mon Sep 17 00:00:00 2001 From: Michael Klier Date: Wed, 28 Jul 2010 16:26:11 +0200 Subject: [PATCH] let the user know if some buffers contain unsaved changes on quit --- plugin/dokuvimki.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/dokuvimki.vim b/plugin/dokuvimki.vim index 0d192d6..834b422 100644 --- a/plugin/dokuvimki.vim +++ b/plugin/dokuvimki.vim @@ -724,6 +724,8 @@ class DokuVimKi: if len(unsaved) == 0: vim.command('silent! quitall') + else: + print >>sys.stdout, "Some buffers contain unsaved changes. Use DWquit! if you really want to quit." def help(self):