fix(nvimtree): remove deprecated system_open option (#1621)

This commit is contained in:
Dobry Nikolov 2026-06-02 18:22:01 +03:00
commit 4e03740d25
3 changed files with 26 additions and 24 deletions

View file

@ -14,6 +14,16 @@
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";