plugins/chadtree: enable xdg setting to fix deps installation

This commit is contained in:
Gaetan Lepage 2026-01-26 00:46:41 +01:00 committed by Gaétan Lepage
parent f5525b2c35
commit ff90549078

View file

@ -17,6 +17,11 @@ lib.nixvim.plugins.mkNeovimPlugin {
plugins.chadtree.luaConfig.content = ''
vim.api.nvim_set_var("chadtree_settings", ${lib.nixvim.toLuaObject cfg.settings})
'';
# Use XDG specifications for storing the CHADTree runtime and session files.
# If set to false, will store everything under repo location.
# Fixes https://github.com/nix-community/nixvim/issues/4154
plugins.chadtree.settings.xdg = lib.mkDefault true;
};
settingsExample = {