An open API service indexing awesome lists of open source software.

https://github.com/flycheck/flycheck-color-mode-line

An Emacs minor-mode for Flycheck which colors the mode-line according to the Flycheck state of the current buffer.
https://github.com/flycheck/flycheck-color-mode-line

Last synced: 6 months ago
JSON representation

An Emacs minor-mode for Flycheck which colors the mode-line according to the Flycheck state of the current buffer.

Awesome Lists containing this project

README

          

flycheck-color-mode-line.el
===========================

An Emacs minor-mode for [Flycheck][flycheck] which colors the mode line
according to the Flycheck state of the current buffer.

Installation
------------

If you choose not to use one of the convenient packages in [Melpa][melpa]
or [Marmalade][marmalade], you'll need to add the directory containing
`flycheck-color-mode-line.el` to your `load-path`.

Configuration
-------------

Put this code in your init file:

(require 'flycheck-color-mode-line)

(eval-after-load "flycheck"
'(add-hook 'flycheck-mode-hook 'flycheck-color-mode-line-mode))

Customization
-------------

The faces can be customized in the customization group `flycheck-faces`:

M-x customize-group
flycheck-faces

Examples
--------

Here are some screenshots with the different [Solarized themes][solarized]
and the [Powerline package][powerline].

**Solarized Light**

![mode line with solarized light error](https://raw.github.com/syl20bnr/flycheck-color-mode-line/master/doc/flycheck-color-mode-line-light-e.png)
![mode line with solarized light warning](https://raw.github.com/syl20bnr/flycheck-color-mode-line/master/doc/flycheck-color-mode-line-light-w.png)
![mode line with solarized light info](https://raw.github.com/syl20bnr/flycheck-color-mode-line/master/doc/flycheck-color-mode-line-light-i.png)

**Solarized Dark**

![mode line with solarized dark error](https://raw.github.com/syl20bnr/flycheck-color-mode-line/master/doc/flycheck-color-mode-line-dark-e.png)
![mode line with solarized dark warning](https://raw.github.com/syl20bnr/flycheck-color-mode-line/master/doc/flycheck-color-mode-line-dark-w.png)
![mode line with solarized dark warning](https://raw.github.com/syl20bnr/flycheck-color-mode-line/master/doc/flycheck-color-mode-line-dark-i.png)

Thanks
------

- [Thomas Järvstrand][tjarvstrand] for the initial code from the excellent [EDTS mode][edts].
- [Sebastian Wiesner][lunaryorn] for flycheck and his awesome support.

[flycheck]: http://github.com/flycheck/flycheck
[melpa]: http://melpa.milkbox.net
[marmalade]: http://marmalade-repo.org
[solarized]: http://github.com/bbatsov/solarized-emacs
[powerline]: http://github.com/milkypostman/powerline
[tjarvstrand]: http://github.com/tjarvstrand
[edts]: http://github.com/tjarvstrand/edts
[lunaryorn]: http://github.com/lunaryorn