Additional Vim syntax highlighting for C++
This file contains additional syntax highlighting that I use for my C++11 development in Vim. Compared to the standard syntax highlighting for C++ it adds highlighting of (user defined) functions and the containers and types in the standard library / boost.
Development is done at: http://github.com/octol/vim-cpp-enhanced-highlight
To install:
Either copy the cpp.vim file to ~/.vim/after/syntax/cpp.vim or install using Vundle by adding
Bundle 'octol/vim-cpp-enhanced-highlight'
to your .vimrc file.
Based on:
- http://stackoverflow.com/questions/736701/class-function-names-highlighting-in-vim
- http://www.vim.org/scripts/script.php?script_id=4293
- http://www.vim.org/scripts/script.php?script_id=2224
- http://www.vim.org/scripts/script.php?script_id=1640
- http://www.vim.org/scripts/script.php?script_id=3064
Jon Haggblad [email protected]
Last update: 17 May 2013