delta icon indicating copy to clipboard operation
delta copied to clipboard

Row-oriented line number styles

Open dandavison opened this issue 2 years ago • 1 comments

See #949

Example config for use with this branch:

[delta]
   line-numbers-minus-style = minus-emph-style
   line-numbers-plus-style = plus-emph-style
   line-numbers-left-style = omit
   line-numbers-right-style = omit
image

dandavison avatar Mar 14 '22 03:03 dandavison

Hi

Upfront: I have no clue about rust and my comment is to be interpreted with this in mind. Thanks.

I tried it with the current master branch (01f92de6df52457aceb68a5c89b2bb440a6b64d7) and it works fine. The test error got resolved by adding (None, None) => styles[Plus],// FIXME! to line 256. You hab already FIXME there, so I guess you are aware. I like this feature. It makes non side-by-side much more readable.

mkonig avatar Jun 18 '23 11:06 mkonig