Skip to content

fix: handle winborder correctly if the global option is not set#173

Merged
saecki merged 1 commit intosaecki:mainfrom
v1nh1shungry:fix-winborder
Aug 6, 2025
Merged

fix: handle winborder correctly if the global option is not set#173
saecki merged 1 commit intosaecki:mainfrom
v1nh1shungry:fix-winborder

Conversation

@v1nh1shungry
Copy link
Copy Markdown
Contributor

Problem: I believe vim.opt_global.winborder:get() will return an empty list if user hasn't set winborder. Thus, Neovim will complain "invalid number of border chars" if neither the global option winborder nor the plugins' option popup.border is configured.

@v1nh1shungry
Copy link
Copy Markdown
Contributor Author

Hi! The CI failure appears to be unrelated to my changes. Could anyone please help me look into this? Thanks!

@saecki
Copy link
Copy Markdown
Owner

saecki commented Aug 6, 2025

Yeah, the CI is sometimes broken. I haven't figured out why (#66).
Thanks, for the PR!

@saecki saecki merged commit a49df0f into saecki:main Aug 6, 2025
1 check failed
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