diff options
| author | Hung Vu <89293664+vuxuanhungg@users.noreply.github.com> | 2025-02-16 05:12:31 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-15 23:12:31 +0100 |
| commit | 0a3a85fa1a59e0bb0811c87556dee51f027b3358 (patch) | |
| tree | bca97fe1ba785cc9e80c87f3f980b09412cb6d6c /README.md | |
| parent | fix(fs): fall back to `fs_stat` if entry type is not returned by `fs_readdir`... (diff) | |
| download | mason-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.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |
