Skip to content

Commit

Permalink
let the user know if some buffers contain unsaved changes on quit
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Klier committed Jul 28, 2010
1 parent 7c42aa8 commit 264af4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/dokuvimki.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 264af4e

Please sign in to comment.