aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorZeng <76579810+Bekaboo@users.noreply.github.com>2023-01-15 12:18:45 -0600
committerGitHub <noreply@github.com>2023-01-15 19:18:45 +0100
commit6eb540dc055cdf32ebeae020c51c7d792d7247bc (patch)
tree07f56b676e43cf0a42181a6e635078b5d2486789 /README.md
parentfix(vala-lanaguager-server): update meson build commands (#896) (diff)
downloadmason-6eb540dc055cdf32ebeae020c51c7d792d7247bc.tar
mason-6eb540dc055cdf32ebeae020c51c7d792d7247bc.tar.gz
mason-6eb540dc055cdf32ebeae020c51c7d792d7247bc.tar.bz2
mason-6eb540dc055cdf32ebeae020c51c7d792d7247bc.tar.lz
mason-6eb540dc055cdf32ebeae020c51c7d792d7247bc.tar.xz
mason-6eb540dc055cdf32ebeae020c51c7d792d7247bc.tar.zst
mason-6eb540dc055cdf32ebeae020c51c7d792d7247bc.zip
feat(ui): customizable window height and width (#906)
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 = "◍",