LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to send stderr or std::cerr output in RED colour in VIM (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-send-stderr-or-std-cerr-output-in-red-colour-in-vim-4175608881/)

vectrum 06-30-2017 12:48 AM

How to send stderr or std::cerr output in RED colour in VIM
 
I am using vim in lubuntu 16x with vim 7.4.
I want all my c/c++ error output should be displayed in red colour as eclipse does in it's console.
Could you please tell me how to do it?

I haven't got any colourscheme installed. It is default.

pan64 06-30-2017 03:08 AM

I do not really understand, what kind of error is it? compile time problems or runtime error messages?

vectrum 06-30-2017 04:36 AM

My question was too short.
 
Oops! My question was too short.
Well, I mean run-time error message in red colour, say, when a file opening code fails to open a file, it sends perror() output and stderr output in red.
Thanks for helping me to be more methodical.

pan64 06-30-2017 04:55 AM

probably this helps: https://stackoverflow.com/questions/...editing-in-vim
but probably you need to check the plugins of vim (if you could find something suitable)


All times are GMT -5. The time now is 12:32 AM.