fix(mini.files): changed some window widths
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user