From f9482725d72533833db1b29d9726aa30d50176fe Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Tue, 8 Nov 2011 22:31:42 -0500 Subject: [PATCH] support highlighting .rej files --HG-- branch : pmacs2 --- mode/diff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode/diff.py b/mode/diff.py index e9a4614..4b96c6f 100644 --- a/mode/diff.py +++ b/mode/diff.py @@ -13,7 +13,7 @@ class DiffGrammar(Grammar): class Diff(Fundamental): name = 'diff' - extensions = ['.patch', '.diff'] + extensions = ['.patch', '.diff', '.rej'] grammar = DiffGrammar() colors = { 'diff.left': ('red', 'default', 'bold'),