From 6eb540dc055cdf32ebeae020c51c7d792d7247bc Mon Sep 17 00:00:00 2001 From: Zeng <76579810+Bekaboo@users.noreply.github.com> Date: Sun, 15 Jan 2023 12:18:45 -0600 Subject: feat(ui): customizable window height and width (#906) --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 29f3eff3..cf4c3e34 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,8 @@ Example: ```lua require("mason").setup({ ui = { + height = 0.8, + width = 60, icons = { package_installed = "✓", package_pending = "➜", @@ -206,6 +208,12 @@ local DEFAULT_SETTINGS = { -- The border to use for the UI window. Accepts same border values as |nvim_open_win()|. border = "none", + -- Width of the window, accepts integer (fixed width) or float (percentage of screen width). + width = 0.8, + + -- Height of the window, accepts integer (fixed height) or float (percentage of screen height). + height = 0.8, + icons = { -- The list icon to use for installed packages. package_installed = "◍", -- cgit v1.2.3-70-g09d2