Skip to content

Conversation

katawful
Copy link

Currently, a lot of internal variables are set once due to how Vimscript sourcing works. One of these is the variable for padding, which means dynamic centering isn't possible at all. This PR addresses that by wrapping all script level variables into a function and calling that within the script file so normal functionality is expected. Then, if a user wishes to adjust padding on the fly, they can pass a truthy to startify#insane_in_the_membrane as the second argument. This will call the wrapped variable definitions, updating them with new values

Closes #524

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Startify window does not update to reflect new g:startify_padding_left value
1 participant