1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 17:04:47 +03:00

We don’t need format after all.

This commit is contained in:
Rob Rix 2015-11-27 11:18:51 -05:00
parent 1b0aa372bf
commit b109418ede

View File

@ -27,8 +27,6 @@ unified diff before after =
before = maybe "" (applyAttribute beforeAttribute . change "-" . unifiedTerm before) $ Patch.before patch before = maybe "" (applyAttribute beforeAttribute . change "-" . unifiedTerm before) $ Patch.before patch
after = maybe "" (applyAttribute afterAttribute . change "+" . unifiedTerm after) $ Patch.after patch after = maybe "" (applyAttribute afterAttribute . change "+" . unifiedTerm after) $ Patch.after patch
format string = chunk string & fore red & bold
beforeAttribute = Attribute { colour = Red, style = Bold } beforeAttribute = Attribute { colour = Red, style = Bold }
afterAttribute = Attribute { colour = Green, style = Bold } afterAttribute = Attribute { colour = Green, style = Bold }