mhinz / vim-startify

:link: The fancy start screen for Vim.
MIT License
5.3k stars 186 forks source link

Startify window does not update to reflect new g:startify_padding_left value #524

Open katawful opened 2 years ago

katawful commented 2 years ago

I am trying to hack in support for a centered Startify window, and while I can achieve centering, once Vim starts I am stuck with the value initially set to g:startify_padding_left regardless of when I set the padding variable. So when I open a vsplit with a Startify window, despite g:startify_padding_left being set to the padding I desire, Startify itself will keep the padding value used when Vim was opened

Open fresh neovim, centered how i want. g:startify_padding_left = 66 2022-04-19~11:56:48

Open a new Startify window during the same session, the padding doesn't update. g:startify_padding_left = 13 2022-04-19~11:57:09

I would really like to be able to do this. I could write a PR if needed, I have Vimscript experience