mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-06-12 15:58:58 +00:00
fix(nvimtree): remove deprecated system_open option (#1621)
This commit is contained in:
parent
07b57ebc6c
commit
4e03740d25
3 changed files with 26 additions and 24 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue