VI to recognize C++11 keywords
c++, c++11, vi
Solution
Someone already wrote some syntax files for C++11: http://www.vim.org/scripts/script.php?script_id=3797. It even makes initializer lists and lambdas work fine without vim thinking the curlies are errors.
I remember I had to manually add some missing keywords to it, but that's not terribly complicated (just grep the file for the other keywords and add new ones). My current setup is up on GitHub. If you are using vundle you can install it with `Bundle 'rmartinho/vim-cpp11'`.
Problem
Possible Duplicate: Is there a C++11 syntax file for vim? How can i update my `VI` settings for it to recognize (and highlight appropriately) new keywords that came about with the new standard. For example: