Is there a way to redirect vim messages to the Windows console? My makefile runs vim to pre-process some files. It does so with vim -c "source preproc.vim" -c wa -c qa input.c My issue is that while vim runs I have to keep watching the Windows console to spot if vim logs a error to its messages buffer. And if it does, I can but acknowledge the message which then quickly disappears because vim ends due to -q qa.
So I thought that if I could redirect vim's messages buffer to stdout I could then run make and later inspect its stdout for errors - including for vim's errors. Is this possible? I mean is it possible to redirect vim's error messages to stdout? If not, then how can I make vim stop and wait for my console input when vim logs an error to its messages buffer? I know that removing -c qa from the command line would do just that, but it would also halt the make run when there are no errors, that's not acceptable. I want for make to complete automatically if there are no vim errors. I guess overall I'm looking for your thoughts and best practices about using vim as a preprocessor in a makefile. Thanks in advance. -- 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
