Closed harendra-kumar closed 7 years ago
Add autocmd OptionSet * call indent_guides#process_autocmds()
to your .vimrc.
Thanks! My vim does not seem to have OptionSet, will try a newer version of vim. But it seems this should work.
You need vim >= 7.4.786
Thanks @Coacher that's handy to know, might add that in a future version.
Different files may have different indentation levels and often times one has to manually set the shiftwidth to match the style of the file. It will be nice if guides can change automatically as soon as the shiftwidth is set.
Currently I toggle guides twice to reflect the change after setting shiftwidth.