Skip to main content

Timeline for How do I customize vimdiff colors?

Current License: CC BY-SA 4.0

10 events
when toggle format what by license comment
Jan 10 at 22:22 comment added Chris Povirk (And I guess that's controlled by github.com/vim/vim/blob/… and github.com/vim/vim/blob/…? But that file changed recently, including parts related to diffs. So I'm probably actually seeing an older version.)
Jan 10 at 22:18 comment added Chris Povirk Ooo, thanks! My read on the situation: DiffAdd and friends have long been under vimdiff to highlight differences between buffers. Recently, I saw DiffAdd also start getting used under set syntax=diff to highlight lines starting with + and -. But I want the two to be different. So I kept my existing DiffAdd setting, and I changed DiffAdded (which I saw was being used under set syntax=diff, thanks to syn list, per stackoverflow.com/a/29168584/28465) to what I want there. (It's possible that things differ further across color schemes. I'm using a modified desert256.)
Jun 26, 2023 at 8:28 comment added oligofren Will be interesting to figure out how this works
Jun 25, 2023 at 6:44 comment added VladSavitsky Sure. Here it is: github.com/challenger-deep-theme/vim
Jun 25, 2023 at 6:44 history edited VladSavitsky CC BY-SA 4.0
added 153 characters in body
Jun 24, 2023 at 21:03 comment added Martin Tournoij Do you have a link to your colour scheme?
Jun 24, 2023 at 20:56 comment added VladSavitsky @MartinTournoij I'm not sure how it works but it really works in my version of vim. Colorscheme do not add new color groups. Using 'DiffAdd' do not work but 'DiffAdded' works for me.
Jun 23, 2023 at 14:36 comment added Martin Tournoij Are you sure this is correct? These names are hard-coded in Vim, and have ever since they're introduced. I can't really see how/why this works, unless that colourscheme does something very odd 🤔
S Jun 23, 2023 at 13:47 review First answers
Jun 23, 2023 at 15:44
S Jun 23, 2023 at 13:47 history answered VladSavitsky CC BY-SA 4.0