Skip to content

Commit

Permalink
Remove diff-added, diff-changed and diff-removed annoying backgrounds.
Browse files Browse the repository at this point in the history
  Two reasons:
    1) With background, diffs are more difficult to read.

    2) In magit buffers, where highlighting is used to emphasize the current
    chunk, current chunk actually becomes less highlighted. During movement
    between chunks everything blinks
  • Loading branch information
vspinu committed Dec 28, 2012
1 parent c3edb6f commit 6bcf968
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions solarized.el
Expand Up @@ -303,9 +303,9 @@
`(custom-state ((,class (:foreground ,green))))

;; diff
`(diff-added ((,class (:foreground ,green))))
`(diff-changed ((,class (:foreground ,yellow))))
`(diff-removed ((,class (:foreground ,red))))
`(diff-added ((,class (:foreground ,green :background ,solarized-bg))))
`(diff-changed ((,class (:foreground ,yellow :background ,solarized-bg))))
`(diff-removed ((,class (:foreground ,red :background ,solarized-bg))))
`(diff-header ((,class (:background ,solarized-bg))))
`(diff-file-header
((,class (:background ,solarized-bg :foreground ,solarized-fg :weight bold))))
Expand Down

0 comments on commit 6bcf968

Please sign in to comment.