-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
为什么我的代码没有高亮呢? #2
Comments
刚刚试了一下写一个ruby的程序是有语法高亮的 |
使用 set filetype=c 就可以高亮了, |
@ahangchen |
@ahangchen 看上去,你的配色貌似有些问题,对于solarized配色,如果是在终端中使用,需要添加: let g:solarized_termcolors=256
let g:solarized_termtrans=1
let g:solarized_contrast="normal"
let g:solarized_visibility="normal" 其中 |
@kaochenlong 多谢您的vim配置,我的配置主要参考您的配置学习的:) |
@SenZhangAI 谢谢,可是我换用其他配色方案后也是如此,你可以看到我的截图里,右下角识别到的文件类型是txt |
@ahangchen 不客气,:) 通常我们习惯上将个性化配置放在诸如 所以第一步可以查看一下 |
@ahangchen 此外,也可以测试一下vim到底加载了哪些filetype, 可以看出加载了 |
我下载了这个工程,然后
如图,是不是要安装针对C或其他语言的插件才能达到语法高亮的效果?
The text was updated successfully, but these errors were encountered: