On Fr, 27 Sep 2019, Uday Reddy B wrote:

> Hello,
> 
> I notice that the quickfix list and cycling through errors does not work when 
> using ':!cmake ...' but works when using exactly the same command by setting 
> 'let &makeprg="cmake ...' and then ':make'. 
> 
> Would there be a way to get the former working as is? Thanks!

No that is not possible. The :! command, always starts an external 
command from your shell. Vim does not parse the output (and doesn't even 
know what kind of command is started). That's why Vim has introduced the 
:make command.

Best,
Christian
-- 
Durch Abwesenheit seine Hochschätzung oder Verehrung befördern: Wie
die Gegenwart den Ruhm vermindert, so vermehrt ihn die Abwesenheit.
                -- Baltasar Gracián y Morales (Handorakel und Kunst der 
Weltklugheit)

-- 
-- 
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 on the web visit 
https://groups.google.com/d/msgid/vim_use/20190927075405.GC5154%40256bit.org.

Reply via email to