preservim / vim-indent-guides

A Vim plugin for visually displaying indent levels in code
MIT License
2.62k stars 162 forks source link

modifying tabstops with modelines throws off the colouring #136

Closed PlasmaHH closed 1 year ago

PlasmaHH commented 5 years ago

It seems that when e.g. default is 8 and modelines changes to 4 it still tries to colour with 4

Adding BufWinEnter event to the process_autocmds in the augroup indent_guids of indent_guides.vim seems to fix that for me, no idea though if it is the intended way to do it

alerque commented 1 year ago

I believe this should be fixed now that #133 is merged.

If not please drop a commend and we'll look into it again.

PlasmaHH commented 1 year ago

Went to master, seems to work fine, thanks

alerque commented 1 year ago

Thank @mhaehnel who submitted a fix for this about 5 years ago!