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
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 valuesCloses #524