which-key.nvim
which-key.nvim copied to clipboard
fix(view): fix error when horizontal margins larger than total width
This makes it so that when the horizontal margins sum up to a higher value than the total width of NeoVim, they get set to zero. Previously, the plugin would crash because the resulting width would be negative, which is not allowed for popups.