Thread: How to enable c++ highlight in vim?

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    14

    How to enable c++ highlight in vim?

    Uhm, from the recommendation of this site, i was ready to gave a shot on vim as my primary editor, though i find the indentation function helpful,
    can someone please teach me how to enable the c++ syntax highlighting for gvim 6.2?
    i try the syntax on, enable and whatever else i can find on the net or the help files, but i still can't get any colours at all... can someone please help??

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Most people use the manual

    Try this for inspiration
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. VIM: The (un)official thread
    By MK27 in forum Programming Book and Product Reviews
    Replies: 32
    Last Post: 04-20-2011, 06:43 PM
  2. quick vim use question
    By MK27 in forum C Programming
    Replies: 4
    Last Post: 02-20-2009, 11:59 PM
  3. vim question - linux
    By Stonehambey in forum Tech Board
    Replies: 9
    Last Post: 10-18-2008, 04:05 AM
  4. vim smart-indenting for filetypes other than C
    By s_siouris in forum Tech Board
    Replies: 10
    Last Post: 11-25-2004, 11:05 AM
  5. highlight Find results
    By lambs4 in forum Windows Programming
    Replies: 0
    Last Post: 06-08-2003, 07:08 AM