init.lua/after/plugin/neotree.lua

17 lines
351 B
Lua
Raw Permalink Normal View History

2024-02-11 14:02:36 +05:30
require("neo-tree").setup({
2024-02-11 00:58:03 +05:30
close_if_last_window = false,
enable_diagnostics = true,
enable_git_status = true,
filesystem = {
filtered_items = {
2024-02-11 14:02:36 +05:30
visible = true,
2024-02-11 00:58:03 +05:30
},
follow_current_file = {
2024-02-11 14:02:36 +05:30
enabled = true,
2024-02-11 00:58:03 +05:30
},
2024-02-11 14:02:36 +05:30
use_libuv_file_watcher = true,
},
})
2024-02-11 00:58:03 +05:30
vim.keymap.set("n", "<leader>1", "<cmd>Neotree toggle<Return>")