mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-02-27 01:00:11 +08:00
Support .patch and .rej extensions for diff highlighting
Added '.patch' and '.rej' to the supported file extensions in DiffHighlightingDefinition to improve compatibility with common diff-related file types.
This commit is contained in:
@@ -27,7 +27,7 @@ public class DiffHighlightingDefinition : DarkHighlightingDefinition
|
||||
{
|
||||
public override string Name => "Diff";
|
||||
|
||||
public override string Extension => ".diff";
|
||||
public override string Extension => ".diff;.patch;.rej";
|
||||
|
||||
public override HighlightingRuleSet MainRuleSet => new()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user