How to enable c++ highlight in vim?

This is a discussion on How to enable c++ highlight in vim? within the Tech Board forums, part of the Community Boards category; Uhm, from the recommendation of this site, i was ready to gave a shot on vim as my primary editor, ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,447
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 10: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, 10:05 AM
  5. highlight Find results
    By lambs4 in forum Windows Programming
    Replies: 0
    Last Post: 06-08-2003, 07:08 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21