init.lua/after/plugin/neotree.lua

17 lines
345 B
Lua
Raw Normal View History

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