using rails.vim Rake run spec in MacVim, how to get colored output

陌路散爱 提交于 2019-12-23 10:54:28

问题


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.


回答1:


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




回答2:


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



来源:https://stackoverflow.com/questions/4441156/using-rails-vim-rake-run-spec-in-macvim-how-to-get-colored-output

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!