sponsor Vim development Vim logo Vim Book Ad

vim-cpp-modern : Extended syntax highlighting for C and C++ (C++11/14/17/20)

 script karma  Rating 0/0, Downloaded by 52  Comments, bugs, improvements  Vim wiki

created by
foo bar
script type
Keyword and regex-based syntax highlighting for C and C++11/14/17/20 in Vim.

The syntax files provide highlighting of:

- Common ANSI C keywords
- C++ standard library namespaces, types, helper types, helper template variables, and constants
- C++11 attributes
- Latest C++20 language features like coroutines and concepts
- Function declarations/definitions and function calls (basically all words followed by an opening parenthesis)
- Optionally a simpler (less colorful) highlighting of standard C and C++ keywords

install details
Run the following in the terminal:

cd ~/.vim/pack/git-plugins/start
git clone --depth=1 https://github.com/bfrg/vim-cpp-modern

The directory name git-plugins is arbitrary, any other name can be picked. See :help packages for more details.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-cpp-modern.tar.gz 1.0 2021-07-23 7.0 foo bar Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.