summaryrefslogtreecommitdiffstats
path: root/misc/syntax/diff.syntax
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:22:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:22:03 +0000
commitffccd5b2b05243e7976db80f90f453dccfae9886 (patch)
tree39a43152d27f7390d8f7a6fb276fa6887f87c6e8 /misc/syntax/diff.syntax
parentInitial commit. (diff)
downloadmc-ffccd5b2b05243e7976db80f90f453dccfae9886.tar.xz
mc-ffccd5b2b05243e7976db80f90f453dccfae9886.zip
Adding upstream version 3:4.8.30.upstream/3%4.8.30
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