feat: added config.ui.wrap and improved wrapping when wrap=true. Fixes #422

This commit is contained in:
Folke Lemaitre 2023-01-19 08:45:27 +01:00
parent c389ad552b
commit d6fc848067
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 21 additions and 5 deletions

View file

@ -37,6 +37,7 @@ M.defaults = {
ui = {
-- a number <1 is a percentage., >1 is a fixed size
size = { width = 0.8, height = 0.8 },
wrap = true, -- wrap the lines in the ui
-- The border to use for the UI window. Accepts same border values as |nvim_open_win()|.
border = "none",
icons = {