diff options
| author | Zeng <76579810+Bekaboo@users.noreply.github.com> | 2023-01-15 12:18:45 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-15 19:18:45 +0100 |
| commit | 6eb540dc055cdf32ebeae020c51c7d792d7247bc (patch) | |
| tree | 07f56b676e43cf0a42181a6e635078b5d2486789 /README.md | |
| parent | fix(vala-lanaguager-server): update meson build commands (#896) (diff) | |
| download | mason-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.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 = "◍", |
