LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2006, 11:22 AM   #1
hedpe
Member
 
Registered: Jan 2005
Location: Boston, MA
Distribution: Debian
Posts: 380

Rep: Reputation: 30
colors changed after vim6->vim7 upgrade


Hey guys,

I've used vim 6.4 for the longest time now, and decided to upgrade to vim 7.0, when I upgraded one of the colors in my syntax highlighting changed. In c-code, the following now come up as bright yellow: while, if, sizeof, continue, else ... and so on.

They used to be a dark orange. How can I get them to go back to dark orange?

My vimrc has this:
Code:
hi Comment  guifg=LightGreen ctermfg=LightGreen
hi Identifier ctermfg=DarkRed guifg=#BDD094 
hi PreProc  ctermfg=DarkBlue ctermfg=LightBlue
hi type   ctermfg=LightBlue
Thanks!
George
 
Old 10-12-2006, 12:17 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
You need to find your syntax.txt file. http://vim.dindinx.net/orig/html/syntax.txt.php This was a useful document
 
Old 10-12-2006, 12:18 PM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Forgot to add you may try this also.

Code:
find / -name"c.vim"
that should hold your configuration for syntax highlighting in c.
 
Old 10-12-2006, 01:01 PM   #4
hedpe
Member
 
Registered: Jan 2005
Location: Boston, MA
Distribution: Debian
Posts: 380

Original Poster
Rep: Reputation: 30
thanks, i understand now

one more question though... term=<something> stuff doesn't work at all, for instance:
Code:
hi PreProc  term=bold ctermfg=DarkBlue ctermfg=DarkBlue
hi Type term=bold ctermfg=DarkBlue
hi Constant term=underline ctermfg=darkred
my types and pre processing do not become bold... likewise my constants are not underlined. Any ideas here?

thanks for the help
 
Old 10-12-2006, 04:42 PM   #5
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
those may have to be declared somewhere else.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade to DD and it changed passwd. ty13 Ubuntu 2 08-20-2006 06:49 PM
taskbar changed during upgrade or theme TuxLives Mandriva 3 06-01-2006 02:48 AM
Distored video when I changed from 256 to thousands of colors comanche Fedora 1 01-27-2005 07:13 AM
vim suddenly changed colors??? spyghost Linux - Software 5 08-27-2003 10:13 AM
problem with vim6.1 alrawab Linux - Software 0 12-26-2002 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration