I’m a big user of TextMate and have always liked the very good syntax highlighting support. I just missed colors to help me deal with merge conflicts using git.
I had difficulties knowing what is the “old” version and what is the “new” one that is in conflict.
I added a few lines to the ruby syntax file for TextMate to have “new” versions in pink and “old” ones in dark yellow:

In order to have the same colorful merge resolution pleasure, you need to add the following lines to the “Ruby” language file in TextMate’s Bundle editor:

{ name = 'meta.merge.theirs';
begin = '(^=======\n)';
end = '(^>>>>>>>.*\n)';
beginCaptures = { 1 = { name = 'meta.separator.merge'; }; };
endCaptures = { 1 = { name = 'meta.separator.merge.theirs'; }; };
patterns = ( { include = '$self'; } );
},
{ name = 'meta.merge.mine';
begin = '(^<<<<<<<.*\n)';
end = '^(?========)';
beginCaptures = { 1 = { name = 'meta.separator.merge.mine'; }; };
patterns = ( { include = '$self'; } );
},
Then you need to add a few rules for the colors in your theme (TextMate’s preferences):

I chose the pink for “fresh and newborn” and dark yellow for “old and sunburned”.
Gaspard Bucher
comments
Thanks, I’m going to insert that into my bundle ASAP. Have you thought about submitting it to the Ruby bundle in Macromates’ SVN repository?