Vim C and C++ syntax highlighting extended with MSVC-specific types, keywords, and SAL annotations.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ftdetect
syntax
README.mkd

README.mkd

msvc.vim

This Vim syntax bundle contains the Vim 7.3 C and C++ syntax highlighting modules extended with MSVC-specific types, keywords, and SAL annotations.

Motivations

Pretty colors.

N.B. Not everyone might like pretty colors, but many people do.

Install

msvc.vim is Pathogen-compatible. If you have Pathogen installed, then installing msvc.vim is a breeze:

> cd "c:\Program Files (x86)\Vim\vimfiles\bundle"                    # dem spaces.
> git clone https://github.com/davidzchen/msvc.vim.git

If you do not have Pathogen, you should get Pathogen. If you really don't want to use Pathogen or any other Vim plugin manager, then you can install msvc.vim the manual way (assuming GNUWin32 cp since copy can be oh so funny):

> mkdir tmp
> cd tmp
> git clone https://github.com/davidzchen/msvc.vim.git
> cp ftdetect\*.vim "c:\Program Files (x86)\Vim\vimfiles\ftdetect"   # the spaces.
> cp syntax\*.vim "c:\Program Files (x86)\Vim\vimfiles\syntax"       # oh, the spaces.

References