Skip to content

Commit

Permalink
fix(mini.files): changed some window widths
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 27, 2023
1 parent c5759a4 commit d1eb9c8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lua/lazyvim/plugins/extras/editor/mini-files.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ return {
opts = {
windows = {
preview = true,
width_focus = 30,
width_preview = 30,
},
options = {
-- Whether to use for editing directories
Expand Down Expand Up @@ -30,8 +32,12 @@ return {
require("mini.files").setup(opts)

local show_dotfiles = true
local filter_show = function(fs_entry) return true end
local filter_hide = function(fs_entry) return not vim.startswith(fs_entry.name, ".") end
local filter_show = function(fs_entry)
return true
end
local filter_hide = function(fs_entry)
return not vim.startswith(fs_entry.name, ".")
end

local toggle_dotfiles = function()
show_dotfiles = not show_dotfiles
Expand Down

0 comments on commit d1eb9c8

Please sign in to comment.