hadesbox / simple-ramlparser

A simple implementation of a raml parser with the raml-js library.
3 stars 2 forks source link

Allow no colouring of output (e.g. for use from vim editor) #3

Open vlcinsky opened 10 years ago

vlcinsky commented 10 years ago

On console, colouring looks nice.

When used from vim editor

:!ramlparser %

the output gets messy as there are colour control codes.

Possible options are:

hadesbox commented 10 years ago

I completely disabled the colors, maybe I add an suboption to enable colors for console :) (--colors or something).

vlcinsky commented 10 years ago

@hadesbox You are my man - works perfectly. Thanks.

Tested from vim and works.

Proposal: close this issue and create new one named "add conditional colouring to output", if you feel it would be handy in future.