Skip to content

Commit

Permalink
docs: explain winblend setting better
Browse files Browse the repository at this point in the history
  • Loading branch information
mikavilpas committed Apr 13, 2024
1 parent 1ea6486 commit ac87720
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Using lazy.nvim:
-- the floating window scaling factor. 1 means 100%, 0.9 means 90%, etc.
floating_window_scaling_factor = 0.9,

-- the winblend value for the floating window. See :h winblend
-- the transparency of the yazi floating window (0-100). See :h winblend
yazi_floating_window_winblend = 0,
},
}
Expand Down
2 changes: 1 addition & 1 deletion lua/yazi/types.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
---@field public open_file_function? fun(chosen_file: string): nil "a function that will be called when a file is chosen in yazi"
---@field public hooks? YaziConfigHooks
---@field public floating_window_scaling_factor? float "the scaling factor for the floating window. 1 means 100%, 0.9 means 90%, etc."
---@field public yazi_floating_window_winblend? float "the winblend value for the floating window. See :h winblend"
---@field public yazi_floating_window_winblend? float "the transparency of the yazi floating window (0-100). See :h winblend"

---@class YaziConfigHooks
---@field public yazi_opened fun(preselected_path: string | nil): nil
Expand Down

0 comments on commit ac87720

Please sign in to comment.