nixvim-config/plugins/nvim-tree.nix

34 lines
616 B
Nix
Raw Normal View History

{ ... }:
{
programs.nixvim = {
plugins.nvim-tree = {
enable = true;
extraOptions = {
actions = {
remove_file = {
close_window = false;
};
};
## Keep tree open if already open when opening a tab
tab = {
sync = {
open = true;
close = true;
};
};
view = {
width = 30;
};
renderer = {
group_empty = true;
};
git = {
enable = true;
ignore = false;
timeout = 500;
};
};
};
};
}