summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorWilliamHsieh <wh31110@gmail.com>2023-01-16 18:24:29 +0800
committerGitHub <noreply@github.com>2023-01-16 11:24:29 +0100
commite50e1940de5a4d840326c8ddee68ed7440555f4f (patch)
tree059b3d63dc1a1b80b2a6dadc1f0b48d27a032cf1 /README.md
parentfeat(drools-lsp): link executable to jar file (#912) (diff)
downloadmason-e50e1940de5a4d840326c8ddee68ed7440555f4f.tar
mason-e50e1940de5a4d840326c8ddee68ed7440555f4f.tar.gz
mason-e50e1940de5a4d840326c8ddee68ed7440555f4f.tar.bz2
mason-e50e1940de5a4d840326c8ddee68ed7440555f4f.tar.lz
mason-e50e1940de5a4d840326c8ddee68ed7440555f4f.tar.xz
mason-e50e1940de5a4d840326c8ddee68ed7440555f4f.tar.zst
mason-e50e1940de5a4d840326c8ddee68ed7440555f4f.zip
docs: fix default value for `ui.height` (#914)
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/README.md b/README.md
index 1dacb17b..2d49a7ad 100644
--- a/README.md
+++ b/README.md
@@ -140,8 +140,6 @@ Example:
```lua
require("mason").setup({
ui = {
- height = 0.8,
- width = 60,
icons = {
package_installed = "✓",
package_pending = "➜",
@@ -209,11 +207,15 @@ 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 of the window. Accepts:
+ -- - Integer greater than 1 for fixed width.
+ -- - Float in the range of 0-1 for a percentage of screen width.
width = 0.8,
- -- Height of the window, accepts integer (fixed height) or float (percentage of screen height).
- height = 0.8,
+ -- Height of the window. Accepts:
+ -- - Integer greater than 1 for fixed height.
+ -- - Float in the range of 0-1 for a percentage of screen height.
+ height = 0.9,
icons = {
-- The list icon to use for installed packages.