git-plus
git-plus copied to clipboard
highlight as background?
Hello, i'm wondering if it would be possible to have diff highlight showed as text background instead of underline, like all other git clients out there, since it's easier to read?
cheers
I wanted to open the exact same issue right now!
See my answer on #523.
@sharedprophet i see you can now disable diff, but we do want diff coloring, just as background instead as underline, do you think this could be possible?
@sebfindling I explained how to do that in my answer on #523. With Atom 1.13.1 they changed the css to use "syntax--" as a prefix for all syntax css classes, so now it would be something like:
atom-text-editor {
.syntax--markup.syntax--removed.syntax--diff {
border-bottom: none!important;
background-color: @syntax-color-removed;
}
.syntax--markup.syntax--added.syntax--diff {
border-bottom: none!important;
background-color: @syntax-color-added;
}
}
- On Windows, open the main
Filemenu. For Ubuntu, theEditmenu. On OS X, theAtommenu. - Click
Stylesheet...and it will open up the stylesheet where you can paste the above example to get whatever styling you want.