fmthoma / vgrep

A pager for grep
BSD 3-Clause "New" or "Revised" License
104 stars 8 forks source link

Configuration: Color configuration silently fails if present but invalid #33

Open fmthoma opened 7 years ago

fmthoma commented 7 years ago

The config key colors is optional, and we assume a default mempty if the key is not present. However, if the key is present but contains invalid data (such as misspelled color names), aeson still uses the default instead of printing an error message.