Vim syntax syntax for C ++ 11 that won't ruin another highlight. For example, the scope of a class / namespace

I know about this script: http://www.vim.org/scripts/script.php?script_id=3797 . This has been suggested several times, and other questions regarding the C ++ 11 syntax for Vim have been closed due to duplication of this question: Is there a C ++ 11 syntax file for vim? .

Unfortunately, the proposed script leads to the creation of concretizing constructs (for example, "namespace :: member ()"), which are no longer allocated, and functions and class names are no longer allocated.

Does anyone have a better C ++ 11 plugin for Vim? Ideally, all the functions of a regular C ++ plugin are saved, new keywords / reserved words marked (e.g. nullptr), lambda expressions / universal initialization syntax are not marked as errors. etc. etc.

+6
source share
1 answer

Have you tried the following? I use it and love it

http://www.vim.org/scripts/script.php?script_id=4617

+1
source

Source: https://habr.com/ru/post/943781/


All Articles