commit 53c7b32117e61143dc4f9d6680c31e928481816d
parent f44c962cfc476f8c5e94c61da42d30c079552bf6
Author: Bozhidar Batsov <bozhidar@batsov.com>
Date: Tue, 21 May 2013 08:24:26 -0700
Merge pull request #63 from lunaryorn/use-underlines
Use wave underlines
Diffstat:
1 file changed, 24 insertions(+), 7 deletions(-)
diff --git a/solarized.el b/solarized.el
@@ -362,24 +362,41 @@
;; flymake
`(flymake-errline
- ((,class (:foreground ,red-hc :background ,red-lc :weight bold :underline t))))
- `(flymake-infoline ((,class (:foreground ,green-hc :background ,green-lc))))
+ ((,(append '((supports :underline (:style wave))) class)
+ (:underline (:style wave :color ,red)))
+ (,class (:foreground ,red-hc :background ,red-lc :weight bold :underline t))))
+ `(flymake-infoline
+ ((,(append '((supports :underline (:style wave))) class)
+ (:underline (:style wave :color ,green)))
+ (,class (:foreground ,green-hc :background ,green-lc))))
`(flymake-warnline
- ((,class (:foreground ,yellow-hc :background ,yellow-lc :weight bold :underline t))))
+ ((,(append '((supports :underline (:style wave))) class)
+ (:underline (:style wave :color ,yellow)))
+ (,class (:foreground ,yellow-hc :background ,yellow-lc :weight bold :underline t))))
;; flycheck
`(flycheck-error
- ((,class (:foreground ,red-hc :background ,red-lc :weight bold :underline t))))
+ ((,(append '((supports :underline (:style wave))) class)
+ (:underline (:style wave :color ,red)))
+ (,class (:foreground ,red-hc :background ,red-lc :weight bold :underline t))))
`(flycheck-warning
- ((,class (:foreground ,yellow-hc :background ,yellow-lc :weight bold :underline t))))
+ ((,(append '((supports :underline (:style wave))) class)
+ (:underline (:style wave :color ,yellow)))
+ (,class (:foreground ,yellow-hc :background ,yellow-lc :weight bold :underline t))))
`(flycheck-fringe-error
((,class (:foreground ,red-hc :background ,red-lc :weight bold))))
`(flycheck-fringe-warning
((,class (:foreground ,yellow-hc :background ,yellow-lc :weight bold))))
;; flyspell
- `(flyspell-duplicate ((,class (:foreground ,yellow :weight bold :underline t))))
- `(flyspell-incorrect ((,class (:foreground ,red :weight bold :underline t))))
+ `(flyspell-duplicate
+ ((,(append '((supports :underline (:style wave))) class)
+ (:underline (:style wave :color ,yellow)))
+ (,class (:foreground ,yellow :weight bold :underline t))))
+ `(flyspell-incorrect
+ ((,(append '((supports :underline (:style wave))) class)
+ (:underline (:style wave :color ,red)))
+ (,class (:foreground ,red :weight bold :underline t))))
;; erc
`(erc-action-face ((,class (:inherit erc-default-face))))