From 18b031ea1d3830c8ff25f4d5ee488f68f464dbee Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 13 Jun 2019 22:27:47 -0400 Subject: vim-patch:8.0.0953: get "no write since last change" error in terminal window Problem: Get "no write since last change" error in terminal window. Solution: Use another message when closing a terminal window. Make ":quit!" also end the job. https://github.com/vim/vim/commit/f5be7cd01642fafc4b7d68894eb60cca60c7a405 --- src/nvim/ex_docmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/ex_docmd.c') diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index fb15bd4e66..0e8455bb07 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -6216,7 +6216,7 @@ ex_win_close( } need_hide = false; } else { - EMSG(_(e_nowrtmsg)); + no_write_message(); return; } } -- cgit