feat(working): first working condition

This commit is contained in:
darwincereska
2025-11-19 08:59:51 -05:00
parent 5a5c81eb60
commit c86f52f5fb
31 changed files with 789 additions and 283 deletions

View File

@@ -9,7 +9,32 @@ return {
"MunifTanjim/nui.nvim",
},
config = function()
require("config.plugin.neo-tree")
require("neo-tree").setup({
close_if_last_window = true,
hijack_netrw_behavior = "disabled",
filesystem = {
filtered_items = {
hide_gitignored = true,
hide_hidden = true,
},
follow_current_file = { enabled = true },
},
git_status = {
enable = true,
},
window = {
position = "left",
auto_expand_width = false,
hijack_netrw_behavior = "disabled",
width = 35,
mappings = {
["<space>"] = "toggle_node",
["<2-LeftMouse>"] = "open",
["e"] = function() vim.api.nvim_exec("Neotree focus filesystem", true) end,
["g"] = function() vim.api.nvim_exec("Neotree focus git_status", true) end,
},
},
})
end,
},
}