feat: disable preview for large files (#511)
* feat: disable preview for large files fix: update oil.PreviewWindowConfig * refactor: remove unnecessary shim in config.lua * refactor: revert changes to shim --------- Co-authored-by: Steve Walker <65963536+etherswangel@users.noreply.github.com> Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
This commit is contained in:
parent
50c4bd4ee2
commit
c23fe08e05
4 changed files with 15 additions and 0 deletions
|
|
@ -156,6 +156,8 @@ CONFIG *oil-confi
|
|||
preview_win = {
|
||||
-- Whether the preview window is automatically updated when the cursor is moved
|
||||
update_on_cursor_moved = true,
|
||||
-- Maximum file size in megabytes to preview
|
||||
max_file_size_mb = 100,
|
||||
},
|
||||
-- Configuration for the floating action confirmation window
|
||||
confirmation = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue