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

wrap left and mid border config in style #63

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

Conversation

wvjgsuhp
Copy link

@wvjgsuhp wvjgsuhp commented Jun 5, 2023

This is for users to config borders for left and mid elements like this,

-- proposed
mid = {
  border = { "", " ", "", "", "", " ", "", "" },
}

instead of,

-- current
mid = {
  border = { style = { "", " ", "", "", "", " ", "", "" } },
}

Otherwise, it should be specified in the doc.

@SmiteshP
Copy link
Owner

Actually I didn't intend for the end users to use array's to set the border characters. And just use the strings "single" "double" etc etc to set the border and let navbuddy handler the rest.

@wvjgsuhp
Copy link
Author

Got it.
I found this while making something like this.
image

Also, didn't notice these changes would break the setting with "single", "double", etc.

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.

2 participants