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 vim_use+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_use/aMB7FMtP50wtOpNI%40prometheus.

Attachment: signature.asc
Description: PGP signature

Reply via email to