Re: The screen is not updating after make

Marc Chantreux <[email protected]> Tue, 9 Sep 2025 21:08:04 +0200
Newsgroups gmane.editors.vim
Message-ID <aMB7FMtP50wtOpNI@prometheus>
On Tue, Sep 09, 2025 at 12:21:32PM +0300, Riza Dindir wrote:
> I have a mapping like this:
> 
> command! -nargs=* Make silent make! <args> | if len(getqflist()) > 0 | copen |
> endif

> Whenever I do call this command, the screen does not update. The screen is
> blank (where once was the source code displayed). and the quickfix window is
> sometimes left blank too.

how about:

command -nargs=* Make {
	silent make! <args>
	if len(getqflist()) > 0
		copen
	endif
	redraw!
}

> Does anybody have the same problem?

not since I discovered redraw!

regards

-- 
Marc Chantreux

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_use/aMB7FMtP50wtOpNI%40prometheus.
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQQrhynLytp14smlCwy+er2aYc+1WAUCaMB7BwAKCRC+er2aYc+1
WGnZAQDyXj+sDDK2Rv4Yt3QxB7ZP/MOo//EFhBJc5aoXHQ3Q4wEAsfVrDoty4R6p
8LVoiC7fLQztfut2WNWYC2kLpS3X9g0=
=1fX8
-----END PGP SIGNATURE-----