fix(mini.files): changed some window widths

This commit is contained in:
Folke Lemaitre
2023-06-27 22:02:48 +02:00
parent c5759a451f
commit d1eb9c89d3

View File

@ -3,6 +3,8 @@ return {
opts = { opts = {
windows = { windows = {
preview = true, preview = true,
width_focus = 30,
width_preview = 30,
}, },
options = { options = {
-- Whether to use for editing directories -- Whether to use for editing directories
@ -30,8 +32,12 @@ return {
require("mini.files").setup(opts) require("mini.files").setup(opts)
local show_dotfiles = true local show_dotfiles = true
local filter_show = function(fs_entry) return true end local filter_show = function(fs_entry)
local filter_hide = function(fs_entry) return not vim.startswith(fs_entry.name, ".") end return true
end
local filter_hide = function(fs_entry)
return not vim.startswith(fs_entry.name, ".")
end
local toggle_dotfiles = function() local toggle_dotfiles = function()
show_dotfiles = not show_dotfiles show_dotfiles = not show_dotfiles