aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
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 = "◍",