plugin-config: neotree - show hidden files by default

pull/62/head
AceAiAid 2024-04-08 10:50:01 -07:00 committed by GitHub
parent 99c333eb2b
commit 4ee5ff967a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
-- by default show hidden files
return {
"nvim-neo-tree/neo-tree.nvim",
opts = function(_, opts)
-- 设置窗口的宽度和按键绑定
opts.window.mappings.o = "open"
opts.window.width = 27
-- 显示隐藏文件的配置
opts.filesystem = {
filtered_items = {
hide_dotfiles = false, -- 设置为false以显示隐藏文件
},
}
end,
}