diffr
diffr copied to clipboard
Improve highlighting of commented code
On the following example:
@
-fn func(a,b,c) {
- x = g(a,b)
- y = if x {
- h(b,c)
- } else {
- 0
- }
- return x + y
-}
+// fn func(a,b,c) {
+// x = g(a,b)
+// y = if x {
+// h(b,c)
+// } else {
+// 0
+// }
+// return x + y
+// }
diffr displays the diff like that:

which is correct, but the highlighting of the whitespace-only tokens is distracting.