mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
We don’t need format
after all.
This commit is contained in:
parent
1b0aa372bf
commit
b109418ede
@ -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 }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user