hl-indent

https://github.com/ikirill/hl-indent.git

git clone 'git://github.com/ikirill/hl-indent.git'
2

hl-indent - Highlight irregular indentation

This modes puts indentation highlights below the starting character of a line on subsequent lines, like this:

some line
|   some other line
|   | another line
|   | |                  an indented line
| fourth line
final line

This works in every mode, but is more useful in haskell, which doesn't require indentation levels to be at multiples of a specific level.

If the minor mode hl-indent-mode-blocks is on, this mode will instead highlight blocks of indentation like so (where different symbols represent different colours):

xxxxxxxxxxxxxx
  oooooooooooo
  oooooooooooo
       *******
       *******
    **********
  oooooooooooo
    **********
xxxxxxxxxxxxxx

To use

Enable hl-indent-mode.

There is also hl-indent-mode-blocks, but it is less useful because of limited color contrast, depending on face settings.

Screenshot

Screenshot

Notes: