vim是否有C ++ 11语法文件? [英] Is there a C++11 syntax file for vim?

查看:88
本文介绍了vim是否有C ++ 11语法文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

特别是,初始化列表的显示真的很糟糕:

In particular, the display of initialization lists is really bad:

vector<int> v({1,2,3});

将以红色突出显示花括号(表示错误)。

will highlight the curly braces in red (denoting an error).

推荐答案

现在有一个C ++ 11脚本从 http://www.vim.org/scripts/script.php?script_id=3797 ,它不再将圆括号内的括号标记为错误。

There is now a C++11 script from http://www.vim.org/scripts/script.php?script_id=3797, which no longer mark the braces inside parenthesis as error.

这篇关于vim是否有C ++ 11语法文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆