aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/undo.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-04-29 21:37:22 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-04-29 21:37:22 +0200
commita01246c275a9cc1462523a9f8b6be6369cdff70b (patch)
tree81e713cf0a9286754e7ad7e1caef66a843005ed8 /src/nvim/undo.c
parent7032562faf9c9b44ca58284368937ad06b3a67fa (diff)
downloadrneovim-a01246c275a9cc1462523a9f8b6be6369cdff70b.tar.gz
rneovim-a01246c275a9cc1462523a9f8b6be6369cdff70b.tar.bz2
rneovim-a01246c275a9cc1462523a9f8b6be6369cdff70b.zip
lint
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r--src/nvim/undo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c
index c531a488bc..f5ee0ece8d 100644
--- a/src/nvim/undo.c
+++ b/src/nvim/undo.c
@@ -1131,8 +1131,9 @@ void u_write_undo(const char *const name, const bool forceit, buf_T *const buf,
/* If there is no undo information at all, quit here after deleting any
* existing undo file. */
if (buf->b_u_numhead == 0 && buf->b_u_line_ptr == NULL) {
- if (p_verbose > 0)
+ if (p_verbose > 0) {
verb_msg(_("Skipping undo file write, nothing to undo"));
+ }
goto theend;
}