diff --git a/Criteria-for-a-good-color-scheme.md b/Criteria-for-a-good-color-scheme.md index 568a0e2..7014139 100644 --- a/Criteria-for-a-good-color-scheme.md +++ b/Criteria-for-a-good-color-scheme.md @@ -3,4 +3,60 @@ 3. Works well for popular plugins - [Startify](https://github.com/mhinz/vim-startify) - [signify](https://github.com/mhinz/vim-signify) (change, delete, add sign should be readable) -4. Sign column highlight should look good with other parts. \ No newline at end of file +4. Sign column highlight should look good with other parts. +5. Diff should be easy to view with this colorscheme. + +file1.java + +``` +public class File1 { + + public int add (int a, int b) + { + log(); + return a + b; + } + + public int sub (int a, int b) + { + if (a == b) + { + return 0; + } + log(); + return a - b; + // TOOD: JIRA1234 + } + +} +``` + +file2.java +``` +public class File1 { + + public int sub (int a, int b) + { + // TOOD: JIRA1234 + if ( isNull(a, b) ) + { + return null + } + log(); + return a - b; + } + + public int mul (int a, int b) + { + if ( isNull(a, b) ) + { + return null; + } + log(); + return a * b; + } + +} +``` + +compare these two files with `nvim -d file1.java file2.java` too see if the diff color is readable.