fix(nvimtree): move removed options to deprecations module

This commit is contained in:
Dobry Nikolov 2026-06-02 20:05:01 +03:00
commit 5a7e7eff43
3 changed files with 13 additions and 22 deletions

View file

@ -14,16 +14,6 @@
inherit (options.vim.filetree.nvimTree) mappings;
in {
config = mkIf cfg.enable {
assertions = [
{
assertion = !(cfg.setupOpts ? system_open);
message = ''
vim.filetree.nvimTree.setupOpts.system_open was removed by nvim-tree.lua.
Use Neovim's vim.ui.open() instead. See nvf issue #1621.
'';
}
];
vim = {
binds.whichKey.register = pushDownDefault {
"<leader>t" = "+NvimTree";