views:

75

answers:

1

I'd like (g)vim to draw pipe symbol '|' on each 4th space of indentation to show something like vertical indentation line.

I found this plugin: http://vim.sourceforge.net/scripts/script.php?script_id=628

but it works only for 'tab'. I'm using spaces instead of the tabs.

My .vimrc contains:

set ts=4 set sw=4 set expandtab set softtabstop=4

Thanks for help

+1  A: 

You could simply highlight every fourth space. It's simpler and more effective. Please, take a look at my answer to the question http://stackoverflow.com/questions/2158305/is-it-possible-to-display-indentation-guides-in-vim

ib
Great! It is what i'm looking forThank you
Milan Leszkow