diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-04-30 01:26:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-30 01:26:33 +0200 |
commit | 63526f2eeee774c657270a1ec0cbd788480f14b7 (patch) | |
tree | bacf8807780792b4a8dfaf0480f80e91cf4fe35e /src/nvim/undo.c | |
parent | a0d723db55cf2b81e3bd9271cda9b1b58a5c9f3c (diff) | |
parent | aac731c22b94117aea2257d4f19fd1f0930a2385 (diff) | |
download | rneovim-63526f2eeee774c657270a1ec0cbd788480f14b7.tar.gz rneovim-63526f2eeee774c657270a1ec0cbd788480f14b7.tar.bz2 rneovim-63526f2eeee774c657270a1ec0cbd788480f14b7.zip |
Merge #9956 from justinmk/vim-8.1.1231
vim-patch:8.1.1231, swap-related patches
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r-- | src/nvim/undo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 0a32d9b872..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) - verb_msg((char_u *)_("Skipping undo file write, nothing to undo")); + if (p_verbose > 0) { + verb_msg(_("Skipping undo file write, nothing to undo")); + } goto theend; } |