LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   CScope with color syntax ON (https://www.linuxquestions.org/questions/linux-general-1/cscope-with-color-syntax-on-587696/)

amitpardesi 09-27-2007 05:06 AM

CScope with color syntax ON
 
Whenever you CScope and open any C/C++/Perl file it opens in plain B&W visual. If you open the same file directly from command prompt using vi, it will have appropriate color display of the code, syntax is set in the vimrc file.

Is there any way, where I can enable color syntax ON while opening a file from CScope?

My CScope RPM version is cscope-15.5-15.fc6.1 & VIm 7.0.109

ak_random 09-30-2007 04:42 PM

I don't believe cscope is fancy enough to support terminal colors. Perhaps that's a wish list item for the future...?

ringfjt 09-22-2011 09:40 PM

change default editor
 
default editor for cscope is vi, not vim, so
export CSCOPE_EDITOR=vim


All times are GMT -5. The time now is 06:44 PM.