在MacVim中使用rails.vim Rake运行规范,如何获得彩色输出

发布于 2024-10-07 17:17:46 字数 88 浏览 0 评论 0原文

当使用 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

滥情稳全场 2024-10-14 17:17:46

根据 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.

素手挽清风 2024-10-14 17:17:46

按照这个插件的建议重新编译 vim 是可能的。我自己没试过。

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

It may be possible by recompiling vim as this plugin suggest. I haven't tried it myself.

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文