Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use g:startify_custom_header_center for centering the header #465

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

neur1n
Copy link

@neur1n neur1n commented Feb 20, 2021

This commit adds an option g:startify_custom_header_center to center the custom header, but it will not be defined unless the user sets it. The problem with startify#center(...) is that the centered custom header will not be centered on redraw (i.e. calling startify#insane_in_the_membrane(0). It is similar to nvimdev/dashboard-nvim#52.

…hich keeps the header centered when Vim is resized
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.

1 participant