0
votes

I cannot get macvim to show color in my terminal for cucumber or rspec. The output looks like this:

14[0m
    [32mGiven I have a post with name "[32m[1mSample Post[0m[0m[32m"[90m
            # features/step_definitions/posts_steps.rb:1[0m[0m
    [32mWhen I visit the homepage[90m                               
/step_definitions/posts_steps.rb:5[0m[0m 

Any help would be appreciated

1

1 Answers

1
votes

Those are ANSI sequences, not anything specific to cucumber or rspec. Your files are captured output from tools that assume they are writing to the console (which interprets these sequences). Vim normally doesn't. There is a plugin which does that.