diff --git a/Syntaxes/Diff.plist b/Syntaxes/Diff.plist index 19da6ea..8a38543 100644 --- a/Syntaxes/Diff.plist +++ b/Syntaxes/Diff.plist @@ -8,7 +8,9 @@ patch firstLineMatch - ^(Index: |--- [^%]|\*\*\* |\d+(,\d+)*(a|d|c)\d+(,\d+)*$) + ^(====\s*//.+\s-\s.+\s+====|Index: |--- [^%]|\*\*\* |\d+(,\d+)*(a|d|c)\d+(,\d+)*$) + keyEquivalent + ^~D name Diff patterns @@ -47,13 +49,13 @@ match - ^((-{3} .+)|(\*{3} .+))$\n? + (^((-{3} .+)|(\*{3} .+))$\n?|^={4} .+(?= - )) name meta.diff.header.from-file match - ^\+{3} .+$\n? + (^\+{3} .+$\n?| - .* ={4}$\n?) name meta.diff.header.to-file