I'm setting up NeoFormat/ALEfix-style code reformatting, and I'd really like to have it automatically and fluidly reformat the code as the window is resized. This is possible for whole-viewport vim-windows with the VimResized
autocmd; but I see no corresponding WinResized
autocmd.
Is there an efficient way to add some buffer-local behaviour (i.e. as mentioned above, running code through a width-aware reformatter) to be preformed every time a Vim window is resized (i.e. ⌃w
=
, :vertical resize 100
, et. al)