在MacVim中使用rails.vim Rake运行规范,如何获取彩色输出 [英] using rails.vim Rake run spec in MacVim, how to get colored output

查看:68
本文介绍了在MacVim中使用rails.vim Rake运行规范,如何获取彩色输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当使用Rake运行规范时,quickfix中的输出未着色,这意味着,传递规范时没有绿色,而失败规范则没有红色.这可以解决吗?谢谢你的提示.

when using Rake to run a spec, the output in quickfix is not colored, meaning, it doesn't have green for passing specs and red for failing specs. Is this something solvable? Thanks for any hints.

推荐答案

根据rails.vim的作者蒂姆·波普(Tim Pope)的说法,在这方面无能为力. Vim不支持ANSI颜色代码.

According to Tim Pope, the author of rails.vim, not much that can be done about that; Vim doesn't support ANSI color codes.

这篇关于在MacVim中使用rails.vim Rake运行规范,如何获取彩色输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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