summaryrefslogtreecommitdiffstats
path: root/misc/syntax/diff.syntax
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:12 +0000
commit8ccb487c21368a7fdc8c7c72315325bf0aa06147 (patch)
treeb2056fae01d325924508a41731edfbd4c3cddd23 /misc/syntax/diff.syntax
parentInitial commit. (diff)
downloadmc-8ccb487c21368a7fdc8c7c72315325bf0aa06147.tar.xz
mc-8ccb487c21368a7fdc8c7c72315325bf0aa06147.zip
Adding upstream version 3:4.8.29.upstream/3%4.8.29upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'misc/syntax/diff.syntax')
-rw-r--r--misc/syntax/diff.syntax32
1 files changed, 32 insertions, 0 deletions
diff --git a/misc/syntax/diff.syntax b/misc/syntax/diff.syntax
new file mode 100644
index 0000000..b0aaee6
--- /dev/null
+++ b/misc/syntax/diff.syntax
@@ -0,0 +1,32 @@
+# Highlighting for various diffs including those generated by CVS
+
+context default yellow
+ keyword linestart @@*@@ cyan
+ keyword linestart Index:\s brown
+ keyword linestart \s black white
+ keyword linestart \*\*\*\*\*\*\*\*\*\*\*\*\*\*\* cyan
+ keyword linestart \*\*\**\*\*\*\* cyan
+ keyword linestart ---*---- cyan
+context exclusive linestart @@*@@ \n brightcyan
+context exclusive linestart Index:\s \n black white
+context exclusive linestart \s \n lightgray
+context exclusive linestart \t \n lightgray
+context linestart diff \n white red
+context linestart ---\s \n brightmagenta
+context linestart \+\+\+\s \n brightmagenta
+context linestart \*\*\*\s \n brightmagenta
+context linestart === \n brown
+context linestart \+ \n brightgreen
+context linestart > \n brightgreen
+context linestart - \n brightred
+context linestart < \n brightred
+context linestart ! \n yellow
+context linestart ? \n brown
+context linestart RCS\s \n brown
+context linestart retrieving\s \n brown
+context linestart Only\s \n yellow black
+context linestart Common\s \n yellow black
+context linestart File\s \n yellow black
+context linestart Files\s \n yellow black
+context linestart Binary\s \n yellow black
+context linestart # \n brightcyan