Home
Sign Up
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
Vim 这种高亮是怎么做的?
tioover
·
tioover
·
Mar 6, 2014
· 6714 views
This topic created in 4625 days ago, the information mentioned may be changed or developed.
https://github-camo.global.ssl.fastly.net/1f3f922431d5363224b20e99467ff28b04e810e2/687474703a2f2f692e696d6775722e636f6d2f304f50346f6f642e676966
本身没有那么全的高亮吧,默认下 std 之类的都不会高亮
高亮
std
vim
12 replies
•
1970-01-01 08:00:00 +08:00
wontoncc
Mar 6, 2014
1
https://github.com/Valloric/YouCompleteMe
yaotian
Mar 6, 2014
2
@
wontoncc
可惜他和不少插件不兼容。
tioover
OP
Mar 6, 2014
1
3
@
wontoncc
youcompleteme 还有高亮功能?
tioover
OP
Mar 6, 2014
4
@
wontoncc
我就是从YCM里面拿的这张图,还以为是别的插件做的……
hjking
Mar 7, 2014
5
@
tioover
楼主说的是代码缩进前的那些高亮吗?
banbanchs
Mar 7, 2014
6
刚试了下,YCM是不带高亮的,应该是其他插件的功劳
ant_sz
Mar 7, 2014
7
https://github.com/nathanaelkane/vim-indent-guides
ant_sz
Mar 7, 2014
8
sorry 看错问题了
ruchee
Mar 7, 2014
2
9
try
https://github.com/octol/vim-cpp-enhanced-highlight
and
https://github.com/vim-scripts/STL-Syntax
zhuliting
Mar 7, 2014
10
~/.vimrc中加一行,开启语法亮亮,是这个吗?
syntax on
tioover
OP
Mar 7, 2014
11
@
zhuliting
这个不能高亮成员和stl这些的……应该是楼上的
zhuliting
Mar 7, 2014
12
@
tioover
9楼的方法,用起来很不错哦
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2889 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms ·
UTC 13:19
·
PVG 21:19
·
LAX 05:19
·
JFK 08:19
♥ Do have faith in what you're doing.
❯