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

fix(doom): Correct negative offset when resizing terminal #462

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

polirritmico
Copy link
Contributor

This PR Fix issue #461

For some reason, vim.api.nvim_strwidth returns a larger width after resizing
at certain small window sizes. This PR adds a check for negative values in
offset and sets it to zero in those cases.

Seems like an upstream bug with nvim_strwidth.

@polirritmico
Copy link
Contributor Author

Don't know why the ci / pandoc to vimdoc (pull_request) is failing.

@mathjiajia
Copy link

Could you also fix a similar error for ‘hyper’ theme

@polirritmico
Copy link
Contributor Author

polirritmico commented Jun 11, 2024

Could you also fix a similar error for ‘hyper’ theme

What issue #? I just need the error message to answer.

Edit: You mean #454?

@mathjiajia
Copy link

yes

@yetone
Copy link

yetone commented Jun 11, 2024

‌‌‌‌‌Looking forward to the merging of this fix

@glepnir glepnir merged commit 480d0be into nvimdev:master Jun 12, 2024
1 of 2 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.

4 participants