-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Line numbers style not taking effect with --side-by-side
#251
Comments
--side-by-side
Hi @amanjitsk, nice delta config! I think moving [core]
pager = delta --syntax-theme=Nord
[delta]
features = side-by-side defaults unobtrusive-line-numbers decorations dark
... If you want to know the details: what was going wrong with your version was this:
So basically in your original version, With a complex config like yours, I'd recommend putting everything in the features list, and not using any flags like If you think it's a bit OTT to define rules for resolution of config values involving tree traversal...I agree! So I don't expect users to want to know that. I'd just say that "delta does its best to make sense of all the linked features" and if it gets it wrong then the thing to do is to list out individual config values explicitly (and open an issue if it's not easy to get delta to do what you want) |
The full rules are given in a code comment but like I said, it is a bit OTT and I don't expect many people to care or want to know about it! |
Hi @dandavison , Thanks for the detailed feedback. That did the trick! |
Hey @amanjitsk,
Yes, absolutely: all1 command line flags can be used as git config entries, just strip the [delta]
syntax-theme = Nord 1 All the ones that make sense anyway. So not e.g. |
Great, I was adding it to the "defaults" feature group before. |
Thanks, I think that's a bug: #252
Oh, you know, I had not seen that. It looks very impressive -- I shall have to take a closer look! |
Hi, I don't see the line number style taking effect with the new
--side-by-side
option.For example, I am getting this
but I am expecting this
My delta config is as follow:
The text was updated successfully, but these errors were encountered: