Skip to content

Commit

Permalink
Use diff syntax highlighter for .patch and .rej files.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 30, 2020
1 parent 0d2f1a5 commit d1f59bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/m_diff.fte
Expand Up @@ -48,7 +48,7 @@ colorize MERGE {
}

mode DIFF: PLAIN { # unix/gnu diff
FileNameRx = /\c{DIFF?}$/;
FileNameRx = /\c{{DIFF}|{PATCH}|{REJ}}$/;
FirstLineRx = /^diff /;
HilitOn = 1;
Colorizer = 'DIFF';
Expand Down

0 comments on commit d1f59bc

Please sign in to comment.