I use this feature in Geany:
How can I enable it in gvim?
Have a look at the Indent Guides plugin. It may do what you want.
I personally use SeeTab. It is not suited for persistent indent guides (which I find distracting), but great to selectively toggle on/off to orient yourself.