aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorHung Vu <89293664+vuxuanhungg@users.noreply.github.com>2025-02-16 05:12:31 +0700
committerGitHub <noreply@github.com>2025-02-15 23:12:31 +0100
commit0a3a85fa1a59e0bb0811c87556dee51f027b3358 (patch)
treebca97fe1ba785cc9e80c87f3f980b09412cb6d6c /README.md
parentfix(fs): fall back to `fs_stat` if entry type is not returned by `fs_readdir`... (diff)
downloadmason-0a3a85fa1a59e0bb0811c87556dee51f027b3358.tar
mason-0a3a85fa1a59e0bb0811c87556dee51f027b3358.tar.gz
mason-0a3a85fa1a59e0bb0811c87556dee51f027b3358.tar.bz2
mason-0a3a85fa1a59e0bb0811c87556dee51f027b3358.tar.lz
mason-0a3a85fa1a59e0bb0811c87556dee51f027b3358.tar.xz
mason-0a3a85fa1a59e0bb0811c87556dee51f027b3358.tar.zst
mason-0a3a85fa1a59e0bb0811c87556dee51f027b3358.zip
feat(ui): add backdrop (#1759)
Adds a backdrop for the Mason window. Can be disabled by setting the `ui.backdrop` option: ```lua require("mason").setup { ui = { backdrop = 100 } } ``` The backdrop is not displayed if `'termguicolors'` is not enabled or if Neovim is transparent. Co-authored-by: William Boman <william@redwill.se>
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9e33b653..b64d671d 100644
--- a/README.md
+++ b/README.md
@@ -269,6 +269,10 @@ local DEFAULT_SETTINGS = {
-- The border to use for the UI window. Accepts same border values as |nvim_open_win()|.
border = "none",
+ ---@since 1.11.0
+ -- The backdrop opacity. 0 is fully opaque, 100 is fully transparent.
+ backdrop = 60,
+
---@since 1.0.0
-- Width of the window. Accepts:
-- - Integer greater than 1 for fixed width.