summaryrefslogtreecommitdiffstats
path: root/misc/syntax/diff.syntax
diff options
context:
space:
mode:
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