Closed willothy closed 7 months ago
Makes components where truncate = true not add right padding. This stops the cursor from scrolling horizontally outside of the button text.
truncate = true
Before:
https://github.com/grapp-dev/nui-components.nvim/assets/38540736/4b00f69c-bd8e-42ee-998e-95322c02665a
After:
https://github.com/grapp-dev/nui-components.nvim/assets/38540736/f83abce9-ebeb-4ebc-89dd-b6ec456abafd
Yessir, glad to help! I've been wanting something like this for sooo long and just never got around to building it myself lol
Makes components where
truncate = true
not add right padding. This stops the cursor from scrolling horizontally outside of the button text.Before:
https://github.com/grapp-dev/nui-components.nvim/assets/38540736/4b00f69c-bd8e-42ee-998e-95322c02665a
After:
https://github.com/grapp-dev/nui-components.nvim/assets/38540736/f83abce9-ebeb-4ebc-89dd-b6ec456abafd