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

Do not shorten components if there's nothing to shorten #208

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

nchursin
Copy link
Contributor

@nchursin nchursin commented Jun 28, 2024

Hi

I'm not using components for buffers themselves (only for tabpages), so I set them as an empty table. But that caused crashes. So I added this one line to make sure it doesn't try to shorten components, if there are none

@nchursin nchursin changed the title Do not shorten components if there\s nothiing to shorten Do not shorten components if there's nothiing to shorten Jun 28, 2024
@nchursin nchursin changed the title Do not shorten components if there's nothiing to shorten Do not shorten components if there's nothing to shorten Jun 28, 2024
Copy link
Owner

@willothy willothy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for the PR! Sorry it took so long for me to get to this :)

@willothy willothy merged commit c1e8d1a into willothy:main Jul 12, 2024
3 of 4 checks passed
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