问题
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