I wanted to highlight different indentation levels in vim, so I could identify large blocks of code more easily. I have some reasonable large nested for/while/with/try blocks and it gets hard to identify the block a am into, i.e. how many 'tabs' I have before the cursor.
Is there a way to highlight tabs?
This is what I have in mind:
try:
* while True:
* * for foo in bar:
* * * do()
* if something:
* * done()
except bla:
* exit()
Where * would be a special background color.
I would also settle for any other way to identify the indentation levels.