fix: nvim tree auto save

This commit is contained in:
2024-06-10 18:09:01 +02:00
parent 93e5f439f4
commit b24359b712
3 changed files with 30 additions and 18 deletions

View File

@@ -17,14 +17,17 @@ in
plugins = {
neo-tree = {
enable = true;
filesystem.filteredItems.visible = true;
eventHandlers = {
file_opened = ''
function()
require('neo-tree').close_all()
end
'';
filesystem = {
useLibuvFileWatcher = true;
followCurrentFile.enabled = true;
filteredItems.visible = true;
};
popupBorderStyle = "rounded";
eventHandlers.file_opened = ''
function()
require('neo-tree').close_all()
end
'';
};
which-key.registrations."<leader>f".t = "Tree";
};