-
-
Notifications
You must be signed in to change notification settings - Fork 525
Criteria for a good color scheme
jdhao edited this page Oct 23, 2021
·
3 revisions
- Works well for Markdown (inline code, links, headers)
- Visual selection needs to be visible
- Works well for popular plugins
- Sign column highlight should look good with other parts.
- 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.